Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding out what records are visible in a grid...
Message
From
10/01/2000 09:21:21
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/01/2000 14:24:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00314539
Message ID:
00315431
Views:
30
>Thanks for the help there. That code worked for what I want to do. But, I have another problem with the grid.
>
>I am allowing the user to click on the heading button and I am ordering the table by the field the column is tied to. In the dynamicbackcolor, I am highlighting the currently selected row. For some indexes, this works fine. When I click on other indexes, as I move the cursor through the grid, the highlighted row becomes different than the currently select row (the row marker and focus are on a different row than is hightlighted).
>
>If you have any ideas on this problem, I would appreciate your help very much.
>
>Rob.


BTW the other grid class in that zip is multiselect grid. In that, there is code for changing order as header clicked and highlighting of "selected" rows. That code could be furnished and combined with highlighted to make headers react to clicks for reordering + keep only current row highlighted. Additionally it demonstrates adding your own header and textbox class to grid.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform