Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform
Message
From
30/10/2003 10:20:21
 
 
To
30/10/2003 10:16:06
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00844515
Message ID:
00844521
Views:
18
>Hi
> Well now I got the screen resolution and I put this code in my load event of my form. I get the error unknown member grdEntries. grdEntries is the name of my grid. After I typed thisform intellasense popup and I selected grdEntries from the list so the form knows the grid is there or at least intellasense knows. I have tried this but that is really for controls but it doesn't work either, which I knew it wouldn't. Here is the code:
>
>IF glb.screensize = 1792
> thisform.grdEntries.FontSize = 9
> thisform.grdRaces.FontSize = 9
>ENDIF
>IF glb.screensize = 1400
> thisform.grdEntries.FontSize = 8
> thisform.grdRaces.FontSize = 8
>ENDIF
>
>Also does VFP not have an ElesIf statment.
>
>And 1 more question what are the tags to use when you put code in these messages. Thanks

John,

1) Put the resize grid code in the form init.

2) VFP supports IF ... ELSE ... ENDIF

3) Tags are < pre > and < /pre > without the spaces.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform