Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing for header click in a grid
Message
De
29/07/2003 10:04:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00814471
Message ID:
00814507
Vues:
12
>Your original message had:
 Procedure grdTestGrid.Column19.Header.Click
*          ----------- -------- ------ -----
           MessageBox ("grdTestGrid.Column19.Header1.Click")
 EndProc
>All you should have to do is edit the Click of the grid header and put in the MessageBox code.

In the complete code I sent you, you can see that all is done in a single prg file and there I put:
 Procedure grdTestGrid.Column1.Header.Click
*          ----------- ------- ------ -----
           MessageBox ("grdTestGrid.Column1.Header1.Click")
 EndProc
where I changed "Column19" to "Column1" in order to work properly with the "Home () + "Samples\Data\employee.dbf", that has no 19 fields.

>In your code above, it looks like you have a space between MessageBox and the (. There should be no space.

Think that's not the problem, if you copy that line to the command window it will work ok, regardless of the extra space.

Could you test the complete prg I sent you?

Regards,

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

Click here to load this message in the networking platform