SetFocus in VL Web dialog
Posted: Wed Oct 19, 2022 7:30 am
I have a VL Web (epc 150040) Dialog with an input field that I want ready for input without having to click on it, or press tab to get the focus.
For the field, I have the TabPostion = 1, and TabStop = checked, and the Method Routine which presents the dialog (#com_owner.show) I have:
#edInput.SetFocus
If I click on the field it gets the focus. Or if I press the tab key, it will get the focus. How can I have this input field ready to accept input without any other user intervention?
For the field, I have the TabPostion = 1, and TabStop = checked, and the Method Routine which presents the dialog (#com_owner.show) I have:
#edInput.SetFocus
If I click on the field it gets the focus. Or if I press the tab key, it will get the focus. How can I have this input field ready to accept input without any other user intervention?