Nov 5, 2000 #1 jerold Programmer Aug 30, 2000 52 PH I have grid1 with column1, column2..etc In column1>text1>lostfocus, it has a checking code for the input. After selecting other objects in the form, how can I return the focus to that column1 or text1. Please help me Thank you.
I have grid1 with column1, column2..etc In column1>text1>lostfocus, it has a checking code for the input. After selecting other objects in the form, how can I return the focus to that column1 or text1. Please help me Thank you.
Nov 5, 2000 #2 TomasDill IS-IT--Management Sep 2, 2000 703 UA Grid1.Column1.SetFocus Vlad Grynchyshyn vgryn@softserve.lviv.ua http://www.softserve.lviv.uaThe professional level of programmer could be determined by level of stupidity of his/her bugs Upvote 0 Downvote
Grid1.Column1.SetFocus Vlad Grynchyshyn vgryn@softserve.lviv.ua http://www.softserve.lviv.uaThe professional level of programmer could be determined by level of stupidity of his/her bugs
Nov 6, 2000 Thread starter #3 jerold Programmer Aug 30, 2000 52 PH I tried this code on lostfocus of grid1>column1>text1 thisform.grid1.column1.setfocus() but it does not return to column1 Upvote 0 Downvote
I tried this code on lostfocus of grid1>column1>text1 thisform.grid1.column1.setfocus() but it does not return to column1
Nov 6, 2000 Thread starter #4 jerold Programmer Aug 30, 2000 52 PH In my lostfocus, I have validation code. When it loses its focus it must return to that cell. Thanks Upvote 0 Downvote
Nov 6, 2000 #5 TomasDill IS-IT--Management Sep 2, 2000 703 UA Try NODEFAULT command in LostFocus event. This prevents to lose focus at all. Vlad Grynchyshyn vgryn@softserve.lviv.ua http://www.softserve.lviv.uaThe professional level of programmer could be determined by level of stupidity of his/her bugs Upvote 0 Downvote
Try NODEFAULT command in LostFocus event. This prevents to lose focus at all. Vlad Grynchyshyn vgryn@softserve.lviv.ua http://www.softserve.lviv.uaThe professional level of programmer could be determined by level of stupidity of his/her bugs
Nov 6, 2000 Thread starter #6 jerold Programmer Aug 30, 2000 52 PH Thanks Vlad. Its working now Upvote 0 Downvote