Set focus on a TextField?
BlitzPlus Forums/BlitzPlus Programming/Set focus on a TextField?
| ||
I my app, when the user presses a button a new window pops up that has (among other things) a TextField on it into which the user is going to type something. I would like focus to be set automatically on the TextField so that the user doesn't have to position the mouse on it and click once. Is there a way to do this? Thanks in advance. |
| ||
Use the 'activategadget' command - with your textfield's handle. |
| ||
Perfect! Thanks. |