473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to capture "cancel event" of a Printer dialog box

How do I capture a cancel event of Printer dialog box?

Regards,
Diego

Apr 27 '06 #1
5 3284
Diego wrote:
How do I capture a cancel event of Printer dialog box?


That is not possible in Javascript.

You could however write a programme and run it with the client's
permission (e.g. ActiveX control, Java, etc.)

--
Bart

Apr 28 '06 #2
Diego wrote:
How do I capture a cancel event of Printer dialog box?


That is not possible in Javascript.

You could however write a programme and run it with the client's
permission (e.g. ActiveX control, Java, etc.)

--
Bart

Apr 28 '06 #3
Bart Van der Donck wrote:
Diego wrote:
How do I capture a cancel event of Printer dialog box?
That is not possible in Javascript.


True. Ex falso quodlibet; there is no "Javascript".
You could however write a programme and run it with the client's
permission (e.g. ActiveX control, Java, etc.)


Arbitrary ActiveX/COM objects can be used through JScript in IE, too, but
Active Scripting/ActiveX support may be disabled, or restricted too much.
PointedEars
Apr 28 '06 #4
Thomas 'PointedEars' Lahn wrote:
Bart Van der Donck wrote:
Diego wrote:
How do I capture a cancel event of Printer dialog box?


That is not possible in Javascript.


True. Ex falso quodlibet; there is no "Javascript".


Usus est tyrannus.

--
Bart

Apr 28 '06 #5
Thomas 'PointedEars' Lahn said the following on 4/28/2006 11:42 AM:
Bart Van der Donck wrote:
Diego wrote:
How do I capture a cancel event of Printer dialog box?

That is not possible in Javascript.


True. Ex falso quodlibet; there is no "Javascript".


Your ignorant pedantic behavior reigns supreme.
You could however write a programme and run it with the client's
permission (e.g. ActiveX control, Java, etc.)


Arbitrary ActiveX/COM objects can be used through JScript in IE, too, but
Active Scripting/ActiveX support may be disabled, or restricted too much.


You don't say? Your mastery of the obvious flatters me.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 29 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Verde | last post by:
I'm using a 3rd party component in an ASP.NET 1.1 Web application. The component has a .Click event that can be fired from the client, with an associated event procedure in the code-behind module....
0
by: Latha Rajeev | last post by:
Hello, I have an aspx page, and i want to trap the window minimize event(clicking the minimize button in the title bar of window) in my client side javascript code. I thought that the window...
3
by: Tom Bianchi | last post by:
Hi, I have a Panel with the AutoScroll property set to True and many TextBoxes into it, with only some of them positioned in the visible portion of the panel. Is there a Panel event that I can...
1
by: Appu | last post by:
How to Check in the window print dialog box whether we clicked either "print" or "cancel". while clicking a button i call wnidow.print() to pop up the windows PRint Dialog box. I want to check...
3
by: Dale | last post by:
Access 2000 I am trying to check the form to be sure that required fields are entered. For each required field (Control) I have set the tag property to "1". I am trying to loop through all...
5
by: Jason | last post by:
Hello, I am trying to dynamically create a table, then set its <td>'s onclick: var table = document.createElement("table"); var row = table.insertRow(-1); var td = row.insertCell(-1);...
2
by: yevron2 | last post by:
Hello, I am tring to write a clipboard spy that catches events from the clipboard. I used the SetClipboardViewer api to get events when data is copied into the clipboard, and also...
3
by: deciacco | last post by:
I'm trying to write a label printing SDI app with a small preview on the main form itself. Every time I run the InvalidatePreview event on the preview control to redraw the preview I get the...
6
by: alexia.bee | last post by:
Hi all, I need to write app in C# that communicates with other app. I need to use "named event" for that. I should use windows APIs SetEvent() and WaitForSingleObject() etc... I looked for help...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.