|
-
Jul 6th, 2000, 05:21 AM
#1
Thread Starter
Hyperactive Member
Dear VB users,
I do have a form for choosing: drive / dir /and file.
Startup position is centre of the screen
This form will also used for choosing: drive / dir.
Before I make the form visible, I decrease the form width.
Everything is working correct only the form is no more in the centre of the screen.
Do someone knows to get it in the centre?
Nice regards,
Michelle.
-
Jul 6th, 2000, 05:24 AM
#2
Fanatic Member
This will center a form in the screen.
Code:
Me.Move (Screen.Width - Me.Width) / 2, (Screen.Height - Me.Height) / 2, Me.Width, Me.Height
Hope it helps.
Iain, thats with an i by the way!
-
Jul 6th, 2000, 06:41 AM
#3
Thread Starter
Hyperactive Member
Hello Iain17,
I did it know the me.!
It works good!
Michelle.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|