Determining the active control on a custom form
Posted on 2006-11-20
I'm writing a form for users to log IT support calls with our help desk. I'm using Outlook 2003.
Some of the text boxes they need to complete need some explanation, so I have added a read only text box at the bottom of the form, and I want this to display tips depending on which text box is active. I.e. as they tab across each text box, the help text at the bottom will change to display the relevant information.
For example, as the user tabs into the "user name" box, the text at the bottom of the screen would read "Please enter your username in the format firstname.surname".
I've used Control Tip Text for the simpler instructions, but some are too verbose for that.
How do I determine which field currently has the cursor? (Or is there a better way of doing this?)