form location
Collapse
This topic is closed.
X
X
-
enrico via DotNetMonster.comTags: None -
rowe_newsgroups
Re: form location
On Apr 9, 4:56 am, "enrico via DotNetMonster.c om" <u41845@uwewrot e:I'm hoping you have a really good reason for violating a standard UIis there a way that the form will be fixed in its location, it can't be move
anywhere?
>
--
Message posted via DotNetMonster.c omhttp://www.dotnetmonst er.com/Uwe/Forums.aspx/dotnet-vb-net/200804/1
rule? Users expect to be able to move the forms on their screens,
immovable forms usually do little more than tick off your user base.
Just a warning :-)
Thanks,
Seth Rowe [MVP]
-
zacks@construction-imaging.com
Re: form location
On Apr 9, 4:56 am, "enrico via DotNetMonster.c om" <u41845@uwewrot e:In the Form_Load event, set a couple of variables to the Top and Leftis there a way that the form will be fixed in its location, it can't be move
anywhere?
>
--
Message posted via DotNetMonster.c omhttp://www.dotnetmonst er.com/Uwe/Forums.aspx/dotnet-vb-net/200804/1
Form properties.
In the Form_Move event, set the form's Top and Left properties back to
the values stored in the variables.
Doesn't look pretty, but you can fix that by setting a flag in the
Form_Move event, and resetting the location in the Form_MouseUp event
if the flag is set.
Comment
Comment