Capturing Keypresses in an Outlook Forms Multiline Textbox

  • Thread starter Thread starter Robert Brown
  • Start date Start date
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
 
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.
 
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
 
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.
 
Back
Top