Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WriteMethod at Runtime
Message
 
 
À
08/03/2010 07:02:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01453138
Message ID:
01453139
Vues:
115
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform