Hide or disable Print button / menu item
I want disable printing (allowed to screen but not to printer) in an
evaluation version of my software. I cannot see how to do this - I need to
do it in the Preview form and the Designer form. Any help available on this?
I already have a custom preview form but these objects are not surfaced and
it's complicated to follow through the code and see how they are created and
their events attached.
I am using RB Version 6.
Thank you.
Jonathan Hyams
evaluation version of my software. I cannot see how to do this - I need to
do it in the Preview form and the Designer form. Any help available on this?
I already have a custom preview form but these objects are not surfaced and
it's complicated to follow through the code and see how they are created and
their events attached.
I am using RB Version 6.
Thank you.
Jonathan Hyams
This discussion has been closed.
Comments
example which hides the print button:
http://www.digital-metaphors.com/tips/HidePrintButtonPlugin.zip
You can disable a designer menu option with an approach given in this demo:
http://www.digital-metaphors.com/tips/HideSave.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
up - cannot see ToolBarManager as a property of TppDesignerWindow. Remember
I am using RB6. Is that the problem?
Jonathan Hyams
control the menu. This topic exists in the installed RBuilder.hlp help file.
Here is an example that should work in RB 6 which shows how to use a merge
menu:
http://www.digital-metaphors.com/tips/MergeMenuWithDesigner.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com