ActiveX event

B

Benoit

Hi, I want to know if it's possible to trap an event like onKeyPress
in a javascript when it happen on an ActiveX (in my case it's
RichTextBox).

What we are trying to do is to adjust the size of the RichTexBox when
somone press CTRL-P. We whant to trap the keypress event on the -P,
then resize the RichTextBox (to be sure that all the text will be
printed) before the printer dialog box show up. Maybe there's an
other way to do it, if so, don't hesitate to share it with me!!

Thanks,
Benoit
 

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

Members online

No members online now.

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top