Skip to main content

 I have a form that has input fields and output fields and I can clear the fields when I  click on my reset key. How can i get the cursor to position to the first input field so the user doesn't have to re-position manually by clicking on it? I have VC 3.0 for VS 2017.


#cursorpositioning
#VisualCOBOL

 I have a form that has input fields and output fields and I can clear the fields when I  click on my reset key. How can i get the cursor to position to the first input field so the user doesn't have to re-position manually by clicking on it? I have VC 3.0 for VS 2017.


#cursorpositioning
#VisualCOBOL
For WPF use:
invoke myTextBox1::Focus()

 I have a form that has input fields and output fields and I can clear the fields when I  click on my reset key. How can i get the cursor to position to the first input field so the user doesn't have to re-position manually by clicking on it? I have VC 3.0 for VS 2017.


#cursorpositioning
#VisualCOBOL
That worked fine! - Thank you