Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedural Code
Message
De
30/10/1998 13:40:08
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00152898
Message ID:
00152945
Vues:
25
David,

One word: BEAUTIFUL!!!!

I have not defined a method before, this is an obvious application for it. Can you suggest any other common appliactions for user defined methods?

Once again the UNIVERSALTHREAD comes though!

THANK YOU DAVID!


>Ian,
>
>Assuming you named the method ContactsDeleteCheck when you created it, you just use thisform.ContactsDeleteCheck() to call it.
>
>Also instead of Contact_Mgr in the code below you should use thisform instead.
>
>>If I do that how can I call the procedure from other controls (buttons)
>>
>> IF deleted()=.t.
>> Contact_Mgr.txtdeleted.visible=.t.
>> Contact_Mgr.detailsframe.enabled=.f.
>> Contact_Mgr.txtfirst_name.enabled=.f.
>> Contact_Mgr.txtlast_name.enabled=.f.
>> Contact_Mgr.txttitle.enabled=.f.
>> Contact_Mgr.txtcompany.enabled=.f.
>> ELSE
>> Contact_Mgr.txtdeleted.visible=.f.
>> Contact_Mgr.detailsframe.enabled=.t.
>> Contact_Mgr.txtfirst_name.enabled=.t.
>> Contact_Mgr.txtlast_name.enabled=.t.
>> Contact_Mgr.txttitle.enabled=.t.
>> Contact_Mgr.txtcompany.enabled=.t.
>> ENDIF
>> RETURN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform