Resize popup form

human_anomaly

Registered User.
Local time
Today, 02:32
Joined
Apr 12, 2004
Messages
69
This sounds like it should be an easy thing to do but I can not figure out for the life of me how to resize a form that has the popup option set to yes. I know I can change the border style to sizeable but even that setting doesn't save the last size that you used to you have to resize it every time you use the popup. Idealy I would like to make the popup a specific size and make it so users cannot resize it. Can anyone help me out here?

-Ben
 
Try these settings:

Scroll Bars: Neither
Record Selectors: No
Navigation Buttons :No
Auto Resize: Yes
Auto Center: Yes
Border Style: Dialog
Close Button: Yes
Min/Max Buttons: No

With these settings, the form should appear at the same size it is in design view and it cannot be resized by the user.
 
Normally that would work

Yes you ar correct on a regular form that would work. However this is a popup box. It pops up when a user clicks a button and doesn't go away until they select something. I think they are usually used to diplay short error messages but I am trying to use them to display something larger. I tried the settings you suggested but I didn't have any luck.

-Ben
 
human_anomaly said:
Idealy I would like to make the popup a specific size and make it so users cannot resize it.
The search feature of this forum really does work if you try it. ;)

I use the InsideHeight & InsideWidth properties to ensure my popup forms open to the size I want.

Run this in the forms OnOpen event...

InsideHeight = 4000 '@ 4.25"
InsideWidth = 5000 '@ 5.25"

'for testing
MsgBox "InsideHeight = " & InsideHeight & vbCrLf & "InsideWidth = " & InsideWidth

HTH
 
ghudson said:
The search feature of this forum really does work if you try it. ;)

I use the InsideHeight & InsideWidth properties to ensure my popup forms open to the size I want.

Run this in the forms OnOpen event...

InsideHeight = 4000 '@ 4.25"
InsideWidth = 5000 '@ 5.25"

'for testing
MsgBox "InsideHeight = " & InsideHeight & vbCrLf & "InsideWidth = " & InsideWidth

HTH

Just found this old post while searching on a resize problem. GHudson you've done it again. Thanks :)
 
BarryMK said:
Just found this old post while searching on a resize problem. GHudson you've done it again. Thanks :)
Your welcome!

How refreshing to see somebody actually using the Search function. :cool:
 

Users who are viewing this thread

Back
Top Bottom