Hi, An-
>I was wondering if it was possible to modify a base class of visual foxpro. In concrete, I would like to modificate the commandbutton's base class to add a new property and a new method, so my software will be updated upon compiling. Is this possible ?
Instead of modifying the FoxPro native classes, which you cannot do, you would want to first subclass the base classes into your own class library and then change those. There is a library of subclassed bases in the FoxPro program directory structure. It's called _Base. If you can't find it, or if it doesn't apply to you (you didn't mention the version of Fox), write back.
Updated: the classlib is in HOME() + "\FFC"
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement