Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

prevent printing from preview

edited July 2004 in General
is there a way to disable the print from the preview form?
thanks!
-martha

Comments

  • edited July 2004
    Matha,
    there is an event that is being called when the previewform is created
    you could look in the code to get the name of the button and once the form
    is created you could disable the button in question
    or
    write your own previewform (just derive from the original and disable the
    button in the oncreate and register your previewform)
    cu
    marc

  • edited July 2004
    Hi Martha,

    Check out the following example which creates a simple Preview plugin in
    which the print button is invisible.

    http://www.digital-metaphors.com/tips/PreviewerHidePrintButton.zip

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.