Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WriteMethod at Runtime
Message
 
 
To
08/03/2010 07:02:58
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01453138
Message ID:
01453139
Views:
114
This message has been marked as the solution to the initial question of the thread.
No. You should use BINDEVENT() or create a class with required methods and use it instead of base CheckBox.

>
>I add CheckBox by code like this
>
>this.NewObject("chkDia", "CheckBox")
>
>On InteractiveChange of this.chkDia I need to execute a code. Can I add code into InteractiveChange method at runtime?...
>
>like this
>
>Text to lsCode textmerge noshow pretext 1
>  MessageBox("this.chkDia is changed")
>EndText
>this.chkDia.InsertCode("InteractiveChange", lsCode)
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform