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

I'm not sure why you didn't complain as well about the interface in your reference.

Doesn't it always uses .ActivateCell, making the record under the mouse the current row? It also doesn't seem to try to put it back to where it was.

Finally, it's called repeatedly for each MouseMove -- which may be significant if you're doing something other that setting ToolTipText.

Jim


>>Naomi --
>>
>>Actually, you've identified the one failure in this technique. It only works if the focus is on the grid. If not, then it tries to use ActivateCell. I agree, not the best user interface.
>>
>>However, I have found it vary valuable. I use this technique throughout my applications. I regularly have pop-ups aligned with cells in a grid, frequently with displays obtained from reading from other tables. In fact, my users expect (sometimes demand) it, as this allows for display of detail behind a cell without moving to a separate form.
>>
>>BTW, this entire concept was not my idea -- it came from a FoxTalk article some time ago and was called something like "DynToolTip". So, it came from a better mind than mine.
>>
>
>Interesting. BTW, take a look at http://tek-tips.com/viewthread.cfm?qid=1362055 I later switched to a different approach as I said.
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform