Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sizable appearance but not sizable 1

Status
Not open for further replies.

FoxProProgrammer

Programmer
Apr 26, 2002
967
US
Is there a way to set the Form Properties so the form's border looks like the BorderStyle is set to Sizable, but the user can't change the size of the form?

Thanks!

dz
 
One way is to set the InsideHeight and InsideWidth properties to those that you want it to be in the Form_Resize event.
This will stop it resizing from your defined size.

John
 
Thanks, John. It works, but the window flicker a lot while the window is being resized. I was trying to think of a way to resize the window only after the user finishes resizing the window, instead of while they are resizing the window. It may be possible based on where the mouse is, but that seems a bit complex...or maybe not...or maybe there's another way? I couldn't find a property that returns the coordinates of the mouse. Does one exist?

Thanks,

dz
 
By the way, I came across the DoCmd.MoveSize Method while looking through Help. It can also be used to set the height and width of the form.

dz
 
John,

I can't get the MouseMove, MouseDown, or MouseUp events to fire. I set a breakpoint in each event procedure, and it never stops there. Do you know why?

Thanks,



dz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top