Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a 'column or header as a class'
Message
De
31/08/1999 14:47:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00259719
Message ID:
00259813
Vues:
22
Hi Rodolfo,

>How do I do it?

You define it like this:
define class myheader as header

procedure click

    This.Parent.Parent.HeaderClick(this)

endproc

enddefine
Then you add it at run-time by removing the existing header and doing an addobject(). Then in your grid class make sure you have a HeaderClick method so you can add your code to the grid, this way you only need one header class kicking around, with multifunctional headers.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform