>>I am having trouble forcing setfocus onto the first cell in my grid programatically. I tried the ActiveateCell method of the grid, and the ...Text1.Setfocus() method but the only way I can get the cell to be selected is manually with the mouse :(
>>
>>Thanks in advance
>
>Try setting focus to the grid object, then doing you're ActivateCell.
Thanks Fred. I had to.
ThisForm.Pageframecustom1.ActivePage = 1
ThisForm.Pageframecustom1.Page1.SetFocus()
ThisForm.Pageframecustom1.Page1.Gridcustom1.Column1.Text1.SetFocus()
in the form.init and then it worked. Set focus to the page was the key.
Sorry to waste your time.
Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.
MCP( Tcp/Ip )