Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing for header click in a grid
Message
 
 
À
29/07/2003 09:49:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00814471
Message ID:
00814502
Vues:
9
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 your code above, it looks like you have a space between MessageBox and the (. There should be no space.

>Hi Mark,
>
>>This is more than you asked for, but you can now specify in the grid which column class to use. Then in the column class you can specify what header class to use.
>
>It really is!
>
>I'll have to take a while to "digest" all that code. As I told Cetin, I'd like to implement a very very simple grid (like in the code I CCed you - actually I'm using it like a ListBox) and would be great if I could use the header that comes along with the grid's columns (if that can be done) for my purpose.
>
>I waited a very long while (till the release of VFP 8) to start using grids, because I always found then very hard to use and cumbersome, so that's why I'm doing these very naive questions.
>
>Thanks!
>
>Fernando
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform