Home DADE

How to disable printing and saving options ....

edited October 2003 in DADE
Hello,

Since I have very strong security requirements for an app, I need to
configure profiles for every user. Now, each user have access with read
and write permisons. If I set an user to have access to Report Designer,
how can I prevent him to save or print a report???

Thanks in advance
Luis Ximénez

Comments

  • edited October 2003

    Write code to access the TppDesigner.Menu property and traverse the menu
    items and sub items. You can then the Enabled and Visible properties as
    desired.

    To disable the print button from the preview tab of the report designer, you
    need to create and register a new Preview plug-in. See ppPreview.pas for the
    ancestor code. In the initialization section of this unit, the default
    plug-in is registered.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2003
    Ok, Thanks a lot!!

This discussion has been closed.