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:
00267886
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform