Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically creating method or event procedure
Message
From
22/02/1999 05:39:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Programmatically creating method or event procedure
Miscellaneous
Thread ID:
00189903
Message ID:
00189903
Views:
55
How to programmatically create method or event procedure of added object?
I have form. In init event of this form I want add object and set up properties ,metods and events of this object.
For example, next few lines create command button and set up caption and cancel properties.

THISFORM.ADDOBJECT("cmdCancelBtn",'commandbutton")
WITH THISFORM.cmdCancelBtn
.CAPTION="quit"
.CANCEL=.T.
ENDWITH

But how can I write, for example, procedure for CLICK event?

Thanks

Maros Klempa
Next
Reply
Map
View

Click here to load this message in the networking platform