Capturing Keypresses in an Outlook Forms Multiline Textbox

R

Robert Brown

Hi.

I am trying to capture keypress in a multiline textbox for the sole
reason of counting down a counter of the amount of characters left the
user is allowed to type. I was looking at the CustomPropertyChange
event, but this occurs after the Text Box loses focus.

Is there anyway I can accomplish this? I understand I can't use the
usually KeyPress event.

Any help?

Thanks,
Robert
 
S

Sue Mosher [MVP-Outlook]

Outlook forms don't support a KeyPress event, nor any other event that would
allow you to do this exactly as you describe. You can, however, set the
MaxLength property on the text box through the Advanced Properties dialog.
 
R

Robert Brown

Thanks Sue..

I am using the maxlength, but the users need some feed back.

Could I create an ActiveX Control to use that had a textbox and counter
on it? As this is an organisational form, does it transfer the activex
control to each user when they open the Form?

Thanks again,
Robert


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
S

Sue Mosher [MVP-Outlook]

That might work, but the ActiveX control would have to be installed on each
individual machine.

Also note: The newsgroup interface you are using apparently does not quote
earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please take
the time to quote the original message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top