Userform size on different PCs/different resolutions- yikes! 
Author Message
 Userform size on different PCs/different resolutions- yikes!

Using Word97 (lowest common denominator of my target audience) on Win 95

On my machine, my standard desktop setting is 1152x864 resolution- so when
I went to develop my largest userform, I figured most users have at least
800x600, so I set the userform width x height (properties) to 770 x 590 (as
not to take up the whole screen, even though the form is modal).

When I run my program at my current resolution, it still takes up most of
the screen, and when I tested it on a machine even at 1024x768 the userform
ended up larger than the visible area of the screen. I am not resizing the
userform via code or anything.

Any idea what is going on? I've spent so much time developing this as is
(my first Word project), and I've used every inch of real estate on the
form, I can't imagine trying to go back and shrink my contents and the
form- I'd rather have someone provide a magical explanation of how I'm
missing some simple setting and my form will work _perfectly_ on a 800x600
box...

:)  

Keith R, living in la-la land....



Tue, 01 Nov 2005 03:24:16 GMT  
 Userform size on different PCs/different resolutions- yikes!
Keith,
Try this:

Private Sub UserForm_Initialize()
With Application
    Me.Top = .Top
    Me.Left = .Left
    Me.Height = .Height
    Me.Width = .Width
End With
End Sub

HTH
Henry

Quote:
> Using Word97 (lowest common denominator of my target audience) on Win 95

> On my machine, my standard desktop setting is 1152x864 resolution- so when
> I went to develop my largest userform, I figured most users have at least
> 800x600, so I set the userform width x height (properties) to 770 x 590
(as
> not to take up the whole screen, even though the form is modal).

> When I run my program at my current resolution, it still takes up most of
> the screen, and when I tested it on a machine even at 1024x768 the
userform
> ended up larger than the visible area of the screen. I am not resizing the
> userform via code or anything.

> Any idea what is going on? I've spent so much time developing this as is
> (my first Word project), and I've used every inch of real estate on the
> form, I can't imagine trying to go back and shrink my contents and the
> form- I'd rather have someone provide a magical explanation of how I'm
> missing some simple setting and my form will work _perfectly_ on a 800x600
> box...

> :)

> Keith R, living in la-la land....



Thu, 03 Nov 2005 06:40:36 GMT  
 Userform size on different PCs/different resolutions- yikes!
The easiest way to handle such situations is to set your monitor's screen
resolution to 800 x 600, then modify and save the Userform in that
environment.

--
http://www.standards.com/; Howard Kaikow's web site.
------------------------------------------------

Quote:
> Using Word97 (lowest common denominator of my target audience) on Win 95

> On my machine, my standard desktop setting is 1152x864 resolution- so when
> I went to develop my largest userform, I figured most users have at least
> 800x600, so I set the userform width x height (properties) to 770 x 590
(as
> not to take up the whole screen, even though the form is modal).

> When I run my program at my current resolution, it still takes up most of
> the screen, and when I tested it on a machine even at 1024x768 the
userform
> ended up larger than the visible area of the screen. I am not resizing the
> userform via code or anything.

> Any idea what is going on? I've spent so much time developing this as is
> (my first Word project), and I've used every inch of real estate on the
> form, I can't imagine trying to go back and shrink my contents and the
> form- I'd rather have someone provide a magical explanation of how I'm
> missing some simple setting and my form will work _perfectly_ on a 800x600
> box...

> :)

> Keith R, living in la-la land....



Sat, 12 Nov 2005 00:04:47 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Size Word window for different monitor sizes and resolutions

2. Dynamic GUI: Programming with VBA for different screen sizes and resolutions

3. Text and Combo Box sizes at Different Resolutions

4. Sizing controls in different screen resolutions?

5. How to adjust control sizes and dimensions to suit different screen resolutions

6. Font Size at Different Resolutions

7. Text and Combo Box sizes at Different Resolutions

8. different resolution and font size

9. different resolution and font size

10. different resolution and font size

11. MDI and child forms change relative sizes on different PC/Monitors

12. form doesn't auto size to fit different pc's

 

 
Powered by phpBB® Forum Software