locating form in specific location on screen! Please help

maisam

Registered User.
Local time
Today, 06:47
Joined
Oct 25, 2005
Messages
15
hi guys,

would someone please tell me if it is possible to locate the form in a specific location on screen, e.g. starting from top left corner or basically have the form open in centre of screen?!

I have created my database in Access and now trying to make the forms appear on screen as neet as possible. I have a main form which is on screen all the time and it should cover the whole screen. I have set the size of the form but everytime i open it it doesnt cover the screen as it does not start from the top left corner!

i also have a few pop up forms which i want them to appear in the middle of screen. how can i do this?!!!

i would appreciate any help or suggestions on alternative soloutions!

Thanks
 
On the format tab of the properties sheet for each form is an AutoCenter property that should be set to Yes in your case.
 
I have multiple forms that I need open at the same time and I would like them to open in a specific location in relation to one another, rather than centered on the screen. I can not seem to find a Top or Left property in the Form properties to set. Is there a way to position a form on the screen when it opens?
 
Look at the MoveSize() function in VBA help.
 
That was great, thanks!

A follow up question - How could I use MoveSize() to place a form in reference to another? For example, If I want Form2 to be opened 1" below and 3" to the right of Form1?

Thanks again!
 
Thanks.

I know about twips (1/1440 of an inch) and locating controls on forms, but I will do a search on that to see if anything more comes up that might help my real question.

Again, I am not so worried about the distance, more about how to reference a form's locations that is open, so that I can put another one beside it. I can not seem to find any Top or Right properties for a form object. Maybe there is, I just did not see them. How could I access that info from an open form?

I will search on, thanks again for the tip.
 
Look at the WindowTop and WindowLeft properties of a form.
 

Users who are viewing this thread

Back
Top Bottom