Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Clicking on Column Header function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00946470
Message ID:
00984028
Vues:
13
Dmitry,

I have been able to use the click event of the grid headder to set the order.
IF ORDER() != "LFNAME"
	SET ORDER TO 2   && LFNAME
ELSE
	SET ORDER TO
ENDIF
thisform.grid1.Refresh
Then in the Grid Refresh event, I reset the caption to bold or not
* reset the captions
this.Column2.Header1.FontBold = .f.
DO case
CASE ORDER() = "LFNAME"
	this.Column2.Header1.FontBold = .t.
ENDCASE
DODEFAULT()
HTH
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform