Is this a VBA UserForm or a custom Outlook form? Both support the SetFocus
methods, but the former has more events (i.e. Enter, Exit, etc.) you can trap
to manage interaction with controls. Custom form controls only support the
Click event.
--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog:
http://blogs.officezealot.com/legault/
"Carlos" wrote:
Hello to all,
I have a large text box on a form that is surrounded by other objects.
It's usual users typing text inside this text box and use the keyboard
cursor to navigate through the text. The problem is that when they
reach the top or the bottom of the text box using the up or down arrow
the focus goes away of the text box and switches to other objects
making users to accidentally change other objects values.
Is there a way to force the confining of the cursor to a text box
boundaries?
Thank you very much in advance
Cheers