Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing headers
Message
 
 
À
03/12/1998 12:23:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00163637
Message ID:
00163727
Vues:
24
>>Michelle,
>>
>>>Getting the header into my grid, I think, can be done the same as with textboxes. I just run a program on the .SCX that replaces all of the classes.
>>
>>NO, NO, NO.. doing this will probably make the form impossible to open in the form designer. There was an article about playing this kind of trick on VFP in FPA a while back, but I didn't trust it enough to ever rely on it continuing to work. The header substitution needs to be done at runtime.
>
>
>< snip >
>
>If all of your forms are classes (like ours are) and the header class is in the same library (or one that the form classes are already dependant on) this method will work just fine and you should have no problems opening up the form classes in the Class Designer.

Well, I use a subclassed form, but I don't have a different class for each form. How do I put a programatically created class in the library?

Thanks,

-Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform