Make some kind of trial

Hi guys.
I have to give a demo to a client...
I want the client to be able to see the prepared report, but i want to disable printing...

I saw OnBeforePrint event, but i cannot see how to avoid printing there ...

I use 2.53 version with D5

Any other ideas ?

Main utility of the program is reporting, so i gotta disable printing in the report...

Any ideas ?

Thanks a lot...

cya

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:22AM
    Many ways.
    how complicated is up to you
    I use a hidden encrypted registry key to see if app is demo version
    if it is i set reports to be shown in different report component
    with the preview printbutton set to false, showgrayedbuttons to false
    then use the onprintreport event to display a message and cancel in case they are smart enough to hit ctrl P in preview window.
    ;)
  • edited 5:22AM
    Thanks gordk
    Your ideas & help were Excellent, as always...
    thanks a lot, cya !!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.