Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedural Code
Message
 
 
To
30/10/1998 12:59:31
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00152898
Message ID:
00152932
Views:
22
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
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform