Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Non-existent grid mouse events
Message
From
18/11/1998 10:30:35
 
 
To
18/11/1998 10:23:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00158774
Message ID:
00158777
Views:
12
>I have a grid with 1 column. I have grid.mousedown/mouseup and grid.column.image.mousedown/mouseup event code. The code NEVER fires as I click from cell to cell. Once I enter a cell, and click on the image, then the image.mouse code fires.
>
>BUT, if I turn event tracking on in the debugger, it shows that the grid.mouse events are firing every click.
>
>What is the deal?!? I'm getting a little nervous here about the basic implementation of events in (at least) a grid.
>
>
>Bob

Control event overrides parent (grid) event. You can get Grid.event to be fired if you click on grid but outside the cell (on empty area, if you have it). If you want to fire grid event you may call it explicitly from control event:
**** Control.Click event
This.Parent.Parent.Click()
** other code
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform