Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid activity for object under mouse
Message
From
16/04/2008 11:03:15
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01211777
Message ID:
01311121
Views:
30
Naomi --

Well, if you have a solution, I certainly would like to see it. I've wanted a solution to that aspect of this problem for a long time.

Am most curious what Dynamic properties of the grid you might be referring to.

Jim



>>Oh. Not sure why you brought it up then.
>
>Just as a sample an evolution of ideas.
>>
>>From my perspective, the only real problem here is that when the grid doesn't have the focus, you can't tell which records are visible. As far as I know, you can't tell which record is the top record unless the grid has focus. My solution for this was to activate the first cell in the grid. I thought this a minor inconvenience.
>
>As I said, this problem is solved using Dynamic properties of the grid. I don't remember if I ever posted that code here :(
>
>>
>>There's also a minor problem in that the column's MouseMove event doesn't fire for the cell that is currently active -- it fires for the textbox within the column. My solution for this was to always move the active cell to either the first or second column. Since I don't use grids for input, this is also a minor inconvenience for me. No doubt the code should check to see if the mouse is over the active cell, and only then move to a different cell.
>>
>>I also note now that the grid's MouseMove is always invoked -- for my purposes, since I use BindEvent to bind all of the columns' MouseMoves to a method in the grid, perhaps this second problem could be avoided altogether.
>>
>>Jim
>>
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform