|
-
March 20th, 2001, 04:24 PM
#1
Clipped Form
I have a form that is not the startup form as part of a vbp. When I open the project, run the program, and get the form to show, the bottom half-inch to an inch is clipped off. If I stop the program, then bring up the form object in the design window, then run the program, the part that was clipped off is visible. Does anyone know what's going on and how to fix it? Thanks
Paul
-
March 21st, 2001, 02:19 AM
#2
Re: Clipped Form
To make sure a form appears where you want it to, it is always a good idea to set its position in the load event.
If you have simply stuck it anywhere then you probably wont always get to see it where you would like. Think also that all monitors are different and the position, relative to each, will be different.
In the load event enter
form2.left = whatever
form2.top = whatever
You can also use with
with form2
.top = 0
.left = 0
end with
And cenralise it too if you so choose.
form2.top = (screen.height/2)-(form2.hight/2)
In some such formula
Good Luck
Phil
-
March 21st, 2001, 12:27 PM
#3
Re: Clipped Form
Thanks for your reply. Maybe I stated my case wrong. The form isn't being clipped by the bottom of the screen, there's just a slice along the bottom that's missing.
Paul
-
March 21st, 2001, 06:38 PM
#4
Re: Clipped Form
Have you tried
form1.height = a number that covers the bit that is missing
Phil
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
|