Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grid Event execute on Focusing through Mouse

Status
Not open for further replies.

mstrcmtr

Programmer
Nov 14, 2007
103
PK
Q. Focusing Grid through Mouse which event of Grid Execute 1st

When Event is not executing on Mouse
 
Teh best way to find the answer to this question is to use VFP's Event Tracker, which is on the Tools menu in the Debugger. Choose the events you want to track, then run a form containing a grid, then try clicking on it. The results will appear (by default) in the Debug Output window.

Keep in mind that the grid itself does not respond to every mouse event. For example, it has Click, Double Click, Mouse Down and Mouse UP, but no GotFocus. The controls contained within the grid will have their own events and their own firing sequence. In general, with a container, the contained controls's events fire first, and them up the containership hierarchy to the container itself.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top