>I haven't worked with grids very much but I'm working on a project now that has a grid embedded in a form, along with many other controls. The user will move between these multiple controls on the form, including the grid control. I have been surpised to find that there is no GOTFOCUS nor LOSTFOCUS property for the grid itself. I'd like to fire some events whenever a user enters the grid (gotfocus) and exits the grid (lostfocus).
>
>How can I accomplish this?
>
>Thanks,
>Robert
GRID.init
FOR EACH oCol IN this.Columns
FOR EACH oObj IN oCol.objects
IF LOWER(oObj.name)==LOWER(oCol.currentControl)
BINDEVENT(oObj,"lostfocus",this,"vCellLostfocus",1)
ENDIF
NEXT
NEXT