Hi Paul,

   > but I'm proposing that if I don't want the user
   > to deal with scroll bars, I have to choose a form
   > size that's identical or smaller to the screen resolution
   > the user will have his display set to.

Put buttons on the form so that the user can re-scale the
form to suit his screen. In the button click events, use the
Form.ScaleBy() function to scale the form up or down.
A good ratio to use is 9/10ths or 10/9ths per click.

Disable the scale-down button when the size reaches a
sensible minimum, and ditto the scale-up button when the
size reaches a sensible maximum. Put the buttons near
the top-left corner so that they can't go out of view. 

See the Help for ScaleBy.

Martin.



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/delphi-en/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to