Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can you Track Grid Rows and Columns w/o ActivateCell
Message
From
12/03/1999 17:31:32
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00197025
Message ID:
00197037
Views:
47
Does this grid ever receive focus? I guess you could come up with something using AfterRowColChange and a custom property to map the source data versus the grid ... Maybe you could track the primary key of the source table -and- ActiveRow and watch for changes in the combination of values in the Refresh of the Form or Grid...

Hmmm...an intriguing problem. If you could flesh out the business/UI problem a bit more and maybe send some source to me at i486dx@prodigy.net, I'll be happy to play around with it this weekend.

>I have been studying the GRID control for several days trying to figure out a way to tell what the ROW and COLUMN of the upper left corner of the grid is currently displaying. I have not found a property that gives the upper left corner of the grid. ActiveRow and Relative Row tell you where you are when you are in the GRID control and a cell is active. However, I don't want to use ActivateCell() because it disturbs the grid. I also have found that grabbing the SCROLLER BAR and dragging it does not fire the Scrolled() event.
>
>Can anyone help? Thanks!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform