Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column number in a grid
Message
De
23/02/2005 05:41:46
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
00989532
Message ID:
00989541
Vues:
31
This message has been marked as the solution to the initial question of the thread.
Hans

One idea that springs to mind. You could put the following in the .Click() of each header:

SomePropOrVar = This.Parent.ColumnOrder

or you could subclass your header and put the code in the class.

Terry

>Hello,
>
>when I click on the header of a column in a grid, how do I know the columnnumber ?? I tried with the activecolumn property, but that returns the columnnumber of the columnt that contains the active cell and clicking the header does not make the column the active column !
>
>Thanks,
>Hans
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform