Move A Form

Teady91

Registered User.
Local time
Tomorrow, 08:10
Joined
Jul 6, 2010
Messages
30
This is probs an easy question...

How do i make a form open on a particular part of the screen and then be unmovable?
I know about the Movable property, but how do i specify where the form is opens in the first place?

Cheers.
 
seems pretty complicated for my lack of knowledge, but i will see how i go :)
Cheers
 
Could you possibly elaborate on how i would use this?
i have pasted the clFormWindow into a class module in my db.
im assuming i have to create some sort of on open event for the form i want to position... im just a bit stuck...
 
I've not played with any of those modules, but yes normal procedure would be to call the one you want in the On Load event of the form or in some other event.
 
Ok thanks, but i think i will need to develop my code skill a bit more before i tackle this one.
Cheers
 
Just following up in case anyone else has this problem.

I found a rather easy way to do this by using the Movesize property. I just set an on open event for the form that i wanted to position then used

DoCmd.MoveSize
,[Down],[Height],[Width].

It takes abit of trial and error to get the form where you want it. (Unless you can be bothered doing the calculations.) I read somwhere that it measures in "Twips" what ever they are... all i know is there is 1440 of them in an inch, this helps to get a rough idea of the numbers you want to use.

Hopefully this can help others :)

Cheers,
Teady.​
 

Users who are viewing this thread

Back
Top Bottom