Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Location
    Netherlands
    Posts
    81

    Print.Page when user hits Ctrl+P

    Hi everyone,

    I would like to add the possibility for my "audience" to print the page they are viewing. But I don't want to create a visible button for it. Just when a user hits Ctrl+P it should bring up the print dialog box and print that page.
    It should work for each of the 30 pages of my project.

    How would I do this? Can I set it at once for the entire project, or do I have to add code (which code and how) to each page?

    Thanks for any help!!

    Loes

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    ok, there if no global key event for the project, key events only come from the page its self so you will need to add the below code to the "On Key" event of each page you want to be able to print

    Code:
    if e_Modifiers.ctrl and e_Key == 80 then
    	Page.Print(true, true);
    end
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Dec 2007
    Location
    Netherlands
    Posts
    81
    Thanks! You're wonderful!

    Loes

Similar Threads

  1. Setup Factory and VS 2005
    By vazir786 in forum Setup Factory 7.0
    Replies: 4
    Last Post: 01-13-2006, 08:47 PM
  2. Uninstalling each User's user data?
    By johneast in forum Setup Factory 7.0
    Replies: 1
    Last Post: 08-14-2005, 09:47 AM
  3. How do I get the exit status of a program?
    By ahewgill in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 07-22-2004, 03:46 PM
  4. HOWTO: Prompt the User for Confirmation Before Exiting
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 09:50 AM
  5. Win 2000 user privileges issue
    By ibrod in forum Setup Factory 6.0
    Replies: 2
    Last Post: 12-18-2001, 10:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts