Forum  General Visual ...  How do I...?  Move Form with formborderstyle = none
Previous Previous
 
Next Next
New Post 6/27/2012 12:42 PM
Resolved
  bacon182
46 posts
No Ranking


Move Form with formborderstyle = none 

 I have a form and wanted to make the formborderstyle none, but still, make him move with a click on the RibbonBar, there is a way to make it on VWG?

 
New Post 6/29/2012 5:46 AM
  palli
14290 posts
1st Level Poster




Re: Move Form with formborderstyle = none 

 Hi Bacon,

You can make the form move by assigning a different value to Form.Location.

f.Location = new System.Drawing.Point(f.Location.X + 20, f.Location.Y);

Hope this helps,

Palli


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 6/29/2012 6:32 AM
  bacon182
46 posts
No Ranking


Re: Move Form with formborderstyle = none 

 That i Understant Palli. The problem I noticed is that in WindowsForms I manipulate a Drag boolean to know if I'm Dragging at MouseDown and Release at MouseUp, but with this, I have MouseMove to simulate a Drag Form in the Screen, but in VWG I didn't found the MouseMove Event for Forms.

 
New Post 6/29/2012 7:20 AM
  palli
14290 posts
1st Level Poster




Re: Move Form with formborderstyle = none 

 Hi,

You do not have any of the MouseOver, Down or Move events in Visual WebGui. See here for more information. 

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 7/4/2012 6:51 AM
  bacon182
46 posts
No Ranking


Re: Move Form with formborderstyle = none 

 What I wanted to do is to not show the "Close" Button (X) of the form on the ShowDialog. For that, i set the formstyle to none, but then I have not the caption bar that I can click and move the form, so I wanted to make something like that or in some way hide de Close button and still have the caption bar for the click and drag move form feeling.

 

There is any way to have this done or simulate this?

 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  Move Form with formborderstyle = none
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS