Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrolling on a Form
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00099524
Message ID:
00099528
Views:
23
>I have a form that needs a scrollbar on the side to allow lower
>resolution monitors to view lower information. How would I add this
>capability to a form? I there a way to programmatically update form
>sizes depending on the users resolution?
>
>Jeff Pearce

Jeff,

You can find out the resolution by using the SYSMETRIC() function passing parameters of 1 and 2 (see help for details). In the init of the form, check the screen resolution and size your form appropriately (This.Height & This.Width). You would probably also need to move the controls around if you shrink the form. If you don't want to use this method, I think someone on the list has a class for making forms scrollable :o

HTH
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Reply
Map
View

Click here to load this message in the networking platform