can you control a small popup form

Jon123

Registered User.
Local time
Today, 17:47
Joined
Aug 29, 2003
Messages
668
I want to beable to control where the popup form opens as far as its position.
I would like it to follow the curse so if I click on a field in the middle of the form that opens the popup I want the pop up to open in the middle.

is this possible???


jon
 
i'm sure that you can pop open the form in any position you want, but i doubt you can open it in the exact position of your cursor...
 
Just to piggy back on the thread, so how do we make the form popup in the middle of screen irregardless of screen size, and resolution?
 
I want to beable to control where the popup form opens as far as its position.
I would like it to follow the curse so if I click on a field in the middle of the form that opens the popup I want the pop up to open in the middle.

is this possible???


jon

MoveSize will allow you to position it where you like but as Adam says following the cursor might be hard.

If you only had a few positions to deal with you could make several macros with MoveSize. When you "clicked" on a particular textbox that would open the form and apply the required Macro for MoveSize or you could put the VBA behind the text box to open and position the form.

For MoveSize, even if you hate macros they are best for this, at least initially because the different dimensions are in inches or cms instead of twips. From memory there are 1440 twips to the inch. You can then convert the macro to code one you have the right position.
 
little confused how would I use the movesize
to position the form. The main form fills the screen
the popup is like 1" by 2" and I could move it up and down
deponding on what text box is clicked on wouldwork I just dont know how to start. Please advise.

jon123
 
MoveSize determines or sets its position for Right and Down and also width and height of the form. You can use all fout setting or just one of them.

If you want the pop up form to open in a certain position when you click in Textbox1 then make a macro with MoveSize to follow open form action. For another text box make a copy of the macro but change it MoveSize action to match where you want the form to appear when you click on Textbox 2 and that macro runs when you click Textbox2
 

Users who are viewing this thread

Back
Top Bottom