Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determing what an object is in.. i.e is it in a grid??
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00267662
Message ID:
00267886
Views:
21
Hi Michael.

>> How can I make the control code generic so that if it is on a form that it sets inGrid to .f. and if it is in a Grid to .t.? <<

How about
IF UPPER( This.Parent.BaseClass ) = 'COLUMN'
   inGrid = .T.
ELSE
   inGrid = .F.
ENDIF
Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform