Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing headers
Message
 
 
À
03/12/1998 12:22:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00163637
Message ID:
00163725
Vues:
28
>>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.
>>
>>The thing I'm missing is what would the header class look like? I don't know how to programatically make a header.
>>
>
>In a .PRG do the following code...
>
>DEFINE CLASS MyColumn as Column
>
>property1 = ""
>property2 = "This Value"
>
>procedure Init
>* do all this stuff on init...
>endproc
>
>enddefine
>
>DEFINE CLASS MyHeader as Header
>
>* stuff like above
>
>ENDDEFINE
>
>**************
>BOb

Thanks. I missed the "as header" bit. I didn't have a clue how to make a header from scratch. :)

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

Click here to load this message in the networking platform