About
Pricing
Community
Teams
Start Free Trial
Log in
emi_sastra
asked on
3/17/2012
SET SIZE OF FORM AT RUNTIME
Hi All,
I have below code :
Me.Left = 0
Me.Top = 5
Me.Width = Screen.PrimaryScreen.Bound
s.Width - 10
Me.Height = Screen.PrimaryScreen.Bound
s.Height - 90
At what event should I put it and why ?
Thank you.
Visual Basic.NET
4
1
Last Comment
emi_sastra
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mike Tomlinson
3/17/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
emi_sastra
3/17/2012
ASKER
Hi Idle_Mind,
Me.StartPosition = FormStartPosition.Manual
What is it for ?
Thank you.
Mike Tomlinson
3/17/2012
That keeps the form from being positioned automatically by the operating system itself.
emi_sastra
3/17/2012
ASKER
Ok.
Thank you very much for your help.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Me.StartPosition = FormStartPosition.Manual
What is it for ?
Thank you.