Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse events in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00655314
Message ID:
00657501
Views:
35
Hi!

the controls inside of grid columns are very dependent on the grid, and what is displayed does not means it is there <s>. Grid only draws its rows using text box and column properties, but real object (text box) exists only when it is active. The correct place where you should catch mouse events is at both text box and grid. When mouse moves over grid, mouse events are fired for columns and grid. You can then determine the exact location over gri using GridHitTest() method of the grid.

Hope this helps.

>How can I get the mouse events to fire on a text box of a grid?
>
>I have a grid with a single text box where I want the mouseenter or mousemove, and the mouseexit events to fire as move the mouse between rows. In summary: I want to change the icon based on a custom action for the value if the text box.
>
>I polulated the methods in the column's text box. These method only seem to fire when I initially move into or out of the grid, or into or out of the selected row in the grid.
>
>Thanks,
>Troy
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform