Click to See Complete Forum and Search --> : URGENT HELP..


May 11th, 1999, 05:50 AM
I am using a ACTIVE X control in a HTML form..to print a document.
the problem is.. when i put my functionality of printing the document
in a button click event then it is priting twice.i.e the entire program
is executing twice.

If i donot use any Button (contol) click event.. it works perfectly..

Help please

shekar.

May 11th, 1999, 06:23 AM
It sounds like your controll is reacting to TWO button click's. Is it possible that you have your mouse sensativity set too critical? You may want to try going to the controll pannnel's mouse controll program and slow down the mouse clicks. It is also possible that the mouse button is repeating, "surface of the switch contaminated" Try ing another mouse may prove or disprove this. You could also try just running it on another computer. When you do not use the controll, 'I assume you use a menu item', you say it works. The menu controll may be debounced better than the button controll.
Joe Farkas
farkas_3@msn.com
farkas-j@grayson.com