Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assign Grid Header Click at run time
Message
De
23/10/2002 11:27:03
 
 
À
23/10/2002 10:51:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00714297
Message ID:
00714393
Vues:
19
>Thanks for that Gregory.
>I have also got some help from this link: http://advisorevents.com/Articles.nsf/aid/GRANL07
>
>The problem I have is to find the relative column in my splitted grid. For some reason the last parameter of gridhittest is supposed to deal with it, but actually it doesn't. So I just used the gridhittest to determine whether it is a header or not and then activecolumn to find the correct field to set order to. This is also not perfect since it forces the user to click on the grid's first row first and only then on the grid, but nothing is perfrect in this world... However, if you have a solution for that as well, you are more than welcome!
>
>Thanks again
>
>Jonathan

Jonathan,

I'm not following you. If you click on a header (which is a separate object), and the header click/mousedown passes this.Parent to the grid's method then you hold the column object.

Why is it important to know in which pane you have clicked ? As far as I can see, a column (albeit displayed in both panes) is still the same column, ie it only exists once but is displayed twice.
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform