Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KiloFox Grid Question
Message
De
23/04/2002 13:33:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
KiloFox Grid Question
Divers
Thread ID:
00648319
Message ID:
00648319
Vues:
55
The following code is from KiloFox
If Not Empty(m.tcTag)
	With This
		*** Make sure it really is a tag for the grid's RecordSource
		If IsTag(m.tcTag, .RecordSource)
			*** Go ahead and set the order for the table
			Select (.RecordSource)
			Set Order To (m.tcTag)
			.SetFocus()
		Endif
	Endwith
Endif
When I click on a "qualifying" column, whilst the order of the grid changes, the column that I have clicked on does not receive focus (where I mean that the new column becomes "selected"). In fact, the previous column retains focus. In the above code, I assume that the Setfocus method call is the the grid's setfocus.

To physically change column after clicking on the header, what needs to be done? I am using Nick's grid highlighter class. I assume that will not cause any issue?

Many thanks!

-=Gary
-=Gary
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform