Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid header click event
Message
De
31/08/1999 09:17:51
 
 
À
31/08/1999 09:00:00
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00259608
Message ID:
00259618
Vues:
19
>I have a grid in my form and the grid headers have code in the CLICK() event.
>
>I want the users to be able to click the headers whenever they want, but I also want them to be able to resize a grid column or even move a grid column.
>
>However, when they resize or move a column, the CLICK() event code is also called.
>
>How can I prevent the CLICK() code from firing when the user resizes or moves a grid column?
>
>Thanks,
>
>Jerryt


Try
-----------------------
.Gridx.columnx.resize
-----------------------
qsize=.t.



-----------------------
.Gridx.columnx.header1.click
-----------------------
if qsize=.t.
...
...
qsize=.f.
else
qsize=.f.
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform