Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid method - GridHitTest
Message
 
To
02/08/2001 11:58:15
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00538901
Message ID:
00538914
Views:
13
>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

You could try using drag and drop functionality to accomplish this.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Reply
Map
View

Click here to load this message in the networking platform