Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code that makes a column visible
Message
From
24/11/2006 13:04:01
 
 
To
24/11/2006 12:51:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01172161
Message ID:
01172313
Views:
10
This won't work with VFP7, the Try-Catch error handling was introduced in VFP8.

Time to upgrade, Randy? :-)

>Hey maybe you are looking for a work around... try this.
>
>
>LOCAL loError
>
>TRY
>    ThisForm.pgItems.conItems.grdQuoteList.Column9.visible = .t.
>CATCH TO loError
>ENDTRY
>
>
>
>That will ignore the error all together. Mind you it won't make your column visible either.
>
>
>
>>Hi. I have code in a method that reads someething like:
>>ThisForm.pgItems.conItems.grdQuoteList.Column9.visible = .t.
>>
>>When I run the code, I get the message that Column9 is not found.
>>
>>Does anyone have any ideas how I can make column9 visible (with no error).
>>
>>Thanks, Randy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform