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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting back the focus

Status
Not open for further replies.

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 tried this code on lostfocus of
grid1>column1>text1

thisform.grid1.column1.setfocus()

but it does not return to column1
 
In my lostfocus, I have validation code.
When it loses its focus it must return
to that cell.

Thanks
 
Try NODEFAULT command in LostFocus event. This prevents to lose focus at all.

Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top