Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Determining the active control on a custom form

Posted on 2006-11-20
3
Medium Priority
?
219 Views
Last Modified: 2012-05-05
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?)
0
Comment
Question by:DeVereGroup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 2000 total points
ID: 17983707
Greetings, DeVereGroup.

I don't think this is possible, or at least not in any documented way inside Outlook.  The problem is that the only event for controls on an Outlook form is the Click event, and some controls don't trigger it either.  VB Script doesn't support the WithEvents statement, so you can't add other events.  Outlook doesn't track the focus as it moves from field to field.  You might be able to use some operating system API call to manage this, but I'm not certain of that.  I'd take a different approach.  I'd add a Help button to the form.  When clicked it can open a help window with help information about all the fields on the current page.

Cheers!
0
 

Author Comment

by:DeVereGroup
ID: 18007911
Thanks for your help. I'll try the help button thing.
0
 
LVL 76

Expert Comment

by:David Lee
ID: 18008015
You're welcome.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question