Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid method - GridHitTest
Message
De
02/08/2001 11:58:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Grid method - GridHitTest
Divers
Thread ID:
00538901
Message ID:
00538901
Vues:
93
I am using a grid to display fields of a table.
I want to give the user a multiple-line selection tool with teh mouse.
The user clicks on lets say first row of the grid and releases the mouse over the 10th row. at this point I want to selected lines between 1 and 10.
By select I mean to mark a field in the table as selected.

I tried to use MouseUp Event of the text object in the column and to use GridHittest to get the relative row and relative column where the user released the mouse, but I always get 0 for these relative positions....But even if it's going to work I am not sure how I am going to find the positions in the source table....

Do you have any suggestions?

Thanks,
Vali
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform