Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check if a Control exists
Message
 
À
04/02/2010 04:45:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01447426
Message ID:
01447433
Vues:
36
Hi Gregory... thanks for replying.
Regards,
Gerard



>>Hi.
>>I want to know if a control exists on a form .
>>e.g. Pseudo Code:
>> If Exists(Thisform.MyTextBox)
>> Return .t.
>>Else
>> Return .f.
>>Endif
>>
>>Tia
>>Regards,
>>Gerard
>
>
>
>?pemstatus(m.thisform, 'MyTextBox', 5)
>
>
>or
>
>?inlist(vartype(m.thisform.MyTextBox), 'O')  && ?inlist(vartype(m.thisform.MyTextBox), T_OBJECT)
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform