Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use own class in wizard
Message
De
26/08/1997 12:32:59
 
 
À
26/08/1997 11:38:46
Chong Hanwah
Apic Systems Pteltd
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00046846
Message ID:
00046953
Vues:
25
>>>Hello!
>>>Does anyone know how to make the form wizard use my own classes ?
>>>Thanks!
>>Han Wah,
>>Can you use 'Tools, Options, Form' and define which classes you want your forms to use or are your needs more complicated than that?
>>
>>Hope this helps.
>
>OH!I want to use the wizard Just because I am too lazy to drag each fields ( of my own class) from my tables into my own form class.
>
>LAZY GUY ALWAYS LOOKS FOR FASTEST WAY!

There is a way to do this, but involves a bit of hacking. Take a look at the wizstyle.vcx. Make a backup copy of this library. Add your classes to the wizards. Give the classes that you want to replace alternate names. (embossedfield --> oldembossedfield, or something similar) Now rename your classes with the names of the classes you want to replace. The wizard doesn't know (or care) that the class you replace isn't the one it thinks its using, the wizard.app only goes by the name of the class. Don't forget to make a backup copy of the original library before you start hacking. Hope this is what you had in mind.

Erik
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform