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:
00268438
Views:
29
>Hi George.
>
>>> Or...
inGrid = (UPPER(This.Parent.BaseClass) = "COLUMN")
<<
>
>< lol > I like that minimalist style!
>
Minimalist?? Moi?? Hardly< g >.

Actually, there are a couple of good reasons for choosing the above. It's faster and it eliminates the literals. Further, it reduces the amount of code. Admittedly, it isn't always possible, but whenever it is, I use it.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform