Versions des environnements
>>>>>If I change the parent class name to a new name, e.g. MY_TABLE_MAINTENANCE_FORM_NEW_NAME, I need to hack the TABLE_1_FORMLIB.VCX. Is there a one record in the .VCX where I need to change the name? Or I would have to make the change in many records?
>>>>
>>>>I found that no hacking of .VCX is necessary if simply using VFP Redefine feature.
>>>
>>>That's if you need to do it to the class being edited. If you need to change the parent class of any member object on it (say, a button on a form, or a grid on a page), then your best bet is to either hack the vcx or to write a builder.
>>
>>There is also a free VFP tool called NewClass that will allow redefining from a selected classlib. Works on SCX and VCX.
>>
>>I use it often. Says it was written by Glenn Domeracki. I think I downloaded it here on UT, not sure.
>
>Matt,
>
>Does it allow to redefine several textboxes on the form to a different textbox class?
>
>At the moment I can not get HackFox to work - being dumb, as usual.
For instance, *ALL* textboxes of type ClassA are redefined to ClassB, etc. It works by class ref, not by individual objects.
Another example: All command buttons of type BtnCustomWhatever are redefined to BtnSomethingNew.
I even use it to add a class type to objects that were based on the naitive base classes
See?
Précédent
Suivant
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