Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RemoveObject
Message
From
29/03/2001 09:32:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
RemoveObject
Miscellaneous
Thread ID:
00489831
Message ID:
00489831
Views:
39
Hello All,

I am trying to remove a column from a grid programatically

The remove works perfectly - but..
When I go to refresh the grid (and re-jig the columns if necessary)
I can't seem to detect if the column has already been removed or not

If I then try RemoveObject again it causes an error.

I have tried
Vartype(This.Column30.name) && returns 'C'
Type("This.Column30.name") && returns 'C'

If you look at the column in debug all the properties are
'Expression could not be evaluated'

Anyone got any suggestions?

TIA
Will Jones
Next
Reply
Map
View

Click here to load this message in the networking platform