torturedmind
Programmer
Hi there.
I have this requirement by some of our internal users where they need to verify some names as they type them in a text box. Combo or list boxes are not options since the partial string they're typing could be anywhere in the entirety of the name(s). So I thought of using a grid in a child form to show the possible names. The child form's AlwaysOnTop is set to .T. but should not get the focus yet unless triggered by a key or by mouse click because the user could still be typing in the text box of the parent form. But when I "DO FORM frmChild" in the InteractiveChange event of the text box in the parent form, the child form gets the focus and won't let me go back to the parent form. I reckon am doing this wrong. Anyone care to guide me to the right path? Or is there a better way to approach this?
TIA
kilroy
philippines
"Once a king, always a king. But being a knight is more than enough."
I have this requirement by some of our internal users where they need to verify some names as they type them in a text box. Combo or list boxes are not options since the partial string they're typing could be anywhere in the entirety of the name(s). So I thought of using a grid in a child form to show the possible names. The child form's AlwaysOnTop is set to .T. but should not get the focus yet unless triggered by a key or by mouse click because the user could still be typing in the text box of the parent form. But when I "DO FORM frmChild" in the InteractiveChange event of the text box in the parent form, the child form gets the focus and won't let me go back to the parent form. I reckon am doing this wrong. Anyone care to guide me to the right path? Or is there a better way to approach this?
TIA
kilroy
philippines
"Once a king, always a king. But being a knight is more than enough."