Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determing what an object is in.. i.e is it in a grid??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00267662
Message ID:
00268438
Vues:
30
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform