Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with grdFooter - Height: Exp. eval. to an illegal
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01407367
Message ID:
01407653
Views:
40
Hi Naomi

>Finally, this is the answer on your question as what the minimum grid Height could be
>message #817197

Battle won, not the war yet
LPARAMETERS vNewVal

WAIT WINDOW STR(m.vNewVal) + STR(THIS.HEADERHEIGHT) nowait
THIS.HEIGHT = MAX(THIS.nMinHeight, m.vNewVal, THIS.HEADERHEIGHT)
where THIS.nMinHeight = 20 this will allow any amount of resize

When I change the Windows font to large the form stops loading at the very startup just like at the client. Except for Brute Force to check what works best for this font size, can FONTMETRIC() help me in detecting Windows font and thus increasing the nMinHeight accordingly.

Thanks.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform