General information
Category:
Forms & Form designer
>Brenda, sorry to have bothered you but all I needed to do was SetFocus on the column rather than the control. FYI it didn't matter what column the button was in as it was always the first column that received the focus. The click code just called the other form (which just had a button on to exit) and then did This.Parent.Parent.ColumnN.textfield.SetFocus().
>Martyn.
Thanks for the update. Maybe it will stick - "do not set focus to the grid control, set focus to the column". Guess I have always been lucky and just setfocus to the column by chance.
FYI - it is not a bother. At first i was timid about asking for help, especially when it turned out to be something simple or obvious. Just last week i asked "how can i find the dbf name of a table alias". I instantly got three responses that said "dbf()". Looking back, maybe it was obvious to someone, but not to me. Asking that question saved me alot of time. UT is a great tool, use it .
Regards - Brenda
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only