Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sharing methods between controls...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00011940
Message ID:
00011980
Vues:
35
>Another stupid one :)
>
>In Visual dBase I used to write a piece of code and use
>it as generic method that I would call from any control,
>or, to be more technical, I could attach it as a method
>to any control. Is there any similar technique in VFP?
>And also, in VDB there was a pretty powerful tool called
>Code Block, that looked very much like in-line functions
>in C++ :
> Define Class MyText of Text ;
> Properties ;
> Name = "MyTextBox" ;
> OnChange {;This.Value = Form.Text}
>
>Is there something similir in VFP?

Suggestions by Nick and Dave are fine. Also if it is some code you use over and over again, it might be best to put it as a user defined function in your main prg file.
Todd Burstain, MD
infinitydoc@delphi.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform