Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you (I mean can I) programatically subclass a method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00319562
Message ID:
00319567
Vues:
13
Couldn't you set a property in the Init method that is read by the KeyPress, and directs it to different methods/procedures?
Mark

>Is there a way to subclass a method programatically?
>
>In particular, our framework has an OptionGroup class which in the base class has no options. This class has been dropped on many forms and set to various number of options. Now I want to do something in the keypress event which is only in options and not in the option group. Can anyone suggest a way to programatically override the keypress method of the options in the init method of the OptionGroup?
>
>Any suggestions would be graciously attempted.
>
>Thanks,
>-Isaac
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform