Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WriteMethod at Runtime
Message
From
08/03/2010 07:02:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
WriteMethod at Runtime
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01453138
Message ID:
01453138
Views:
136
Hi all...

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)
Next
Reply
Map
View

Click here to load this message in the networking platform