|
-
Aug 25th, 2009, 09:21 AM
#2
Re: Label not centering on form
The form may not be resized yet. Try adding a DoEvents after setting the window state.
Tip: Add the label positioning to the form's Resize event vs the Load event. If you do, also check to ensure the WindowState<>vbMinimized before repositioning the label, because you will get an error positioning controls while form is minimized.
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
|