Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing, etc. and the new Anchor Property
Message
From
30/11/2005 02:38:43
 
 
To
29/11/2005 23:01:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01073099
Message ID:
01073116
Views:
15
>I was exploring the Anchor property and I have a big question...
>
>Using these new features can you design a form for say 1024x768 with certain font sizes, etc. and allow your user to shrink the form to say 800x600 where the objects shrink to a smaller font, etc. size?
>
>We use 1024x768 to get more information on the form, but some users don't want to resize their monitors (because they probably have 15" monitors) but they really don't like having to use scroll bars on the form to see all the information.
>
>I have tried the _resize object in the _controls.vcx but it really doesn't work very well. Does this new property in combination give us what we need?
>
>I played with the property, but all it seems to do with combo boxes and text boxes is manage where the object moves, but not its size and font. Thanks.
>
>Bob Bartel

Hi Bob,

resizing the fonts is considered a bad idea, and is not supported natively by VFP. Why do people buy big monitors with higher resolution? To be able to run more programs simultanously and see more information on the screen. Try to resize Words, Excel or Internet Explorer, do you see any font size changes? If you really need to change the fonts, you have to add some code to the resize event of your form.

What we did, was to ask our customers for the minimum resolution they could accept, and design the forms to that size. All our customers have monitors running 1024x768, so that is now our standard, and thus also the minimum requirements we have. If our customers don't have monitors which are able to show 1024x768, they have a problem, and not we. But our experience is that it is very easy to persuade our customers to buy a bigger monitor, and usually they are very, very happy for it, because they can tell their boss that they simply must have a new monitor to get their job done.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform