>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.