Re: Appearance of Forms/Reports on 2 different computers

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Re (a), it is possible (though not simple) to use API calls to get the Windows Screen resolution, size of the main Access window (of size of the form's window if it is a popup), screen resolution (DPI), calculate available space, and then resize each of the controls to fill the available space, taking particular care to handle dependencies in order (such as enlarging the option group before enlarging the controls it contains, and moving it small increments and then moving the controls within it so they always remain within the control, remembering that some of those controls may have attached controls themselves, and then handing the next layer such as the pages within a tab control, and so on.)

If that really appeals to you, the details are in chapter 8 of the Access Developers Handbook by Litwin, Getz et al (published by Sybex.)

Re (b), I personally detest applications that assume I bought a large monitor just so they could fill it up! I bought a large monitor so I could fit more things on screen at once, so if you write your application so it fills the entire screen, I certainly won't buy it.

What we do is specify a minimum monitor size you must have to run this app. It used to by 800x600, but most people now have 1024x768. The application is designed for this minimum size. People with a larger monitor have space space they can use as they please.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"cinnie" <cinnie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:652DD4DD-BA31-4252-9C3D-11E7551A0D1B@xxxxxxxxxxxxxxxx
greetings

I have an Access application that I need to use at work on a computer with a
large flat-screen monitor, at home with a similar monitor, and on the road
with a lap top. To make things 'look right' I'm always making adjustments to
everything from the size of Forms to the Zoom level of Print Previews.

a) Is there a good way I can indicate the type of monitor I plan to use in a
way that would allow me to code for the corresponding settings?

b) more generally, how is this handled with applications that must be used
with a variety of monitor sizes, screen resolutions, etc.?

thanks in advance
--
cinnie

.



Relevant Pages

  • Re: Puzzling behaviour
    ... Screen resolution is set to 1920 x 1200 to this ... Yet when maximised with the maximise icon the left and top window ... panel, or in the monitor's control panel from the front panel? ... that's a good looking monitor! ...
    (microsoft.public.windowsxp.hardware)
  • Re: desk-top too large (off-topic)
    ... It might also be the way your monitor is set up. ... You should have controls on ... your monitor to adjust the horizontal and vertical size and position of the ... window so it fits on your screen. ...
    (microsoft.public.windowsupdate)
  • Re: Dialog window size
    ... Actually the size shown in the Resource Editor for dialog is in Dialog Units ... & how many pixels it takes depends on screen resolution. ... the Controls as well when you resize). ... > If you have the window size in your resource file for IDD_MYDIALOG ...
    (microsoft.public.vc.mfc)
  • Re: Adjusting Size of window to monitor
    ... It seems that is not Windows problem, but your monitor instead, and you ... have to adjust your monitor using its own controls: ... Is there anyway to automatically adjust XP ... >window size to conform to the monitor size so that when the window opens I ...
    (microsoft.public.windowsxp.general)
  • HELP
    ... You could try using the controls on the monitor ... >I need to resize my screen ... ... the window has a black ...
    (microsoft.public.windowsxp.customize)