DelphiFAQ Home Search:

How do I trap the right-click -> print event?


commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

You cannot trap specifically the selection of the print command in the menu but you can intercept and disable the popup menu with this code:

  // tested in IE 5 and 6

  document.oncontextmenu = function(){return false}

Content-type: text/html


2015-02-01, 04:21:50
Arceilts like this are an example of quick, helpful answers.
2015-02-02, 06:10:11
anonymous from United States  
Great weblog! Are you expcnieneirg any kind of ideas for wannabe freelancers? I'm preparing to start my personal web site quickly nonetheless I'm a minimal lost upon anything. Would you propose to her beginning a free platform similar to WordPress blogs and also invest in a paid out selection? There are various alternatives available that i am fully puzzled .. Any sort of tips? Congrats! [url= http://xypmhibavmc...avmc[/url] [link=]x..iww[/link]
2015-02-13, 07:20:32
notice penis enlargement other cosmetics suggest people end walking really intend determining collision



NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: