Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing for header click in a grid
Message
De
29/07/2003 12:12:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00814471
Message ID:
00814572
Vues:
9
>The point here is bind the click event of the header to some method in your grid or form, then put your code in that grid or form method.

Got the idea. Didn't know about the BindEvend() function. Did what you said it it worked (put "Procedure grdTestGrid.Init" and "Procedure OnHeaderClick" in the from definition).

>Now just add a OnHeaderClick method to your grid class.

Let me, please, ask you how to get the name of the column (or header) that when clicked fired the OnHeaderClick method?
 Procedure OnHeaderClick
*          -------------
           Messagebox ("The Header or Column clicked is...")
 EndProc
Thanks,

Fernando
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform