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 6:52PM
    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 6:52PM
    Thanks gordk
    Your ideas & help were Excellent, as always...
    thanks a lot, cya !!

Leave a Comment