enable/disable buttons in the forms while printing from the menu [message #84709] |
Mon, 19 April 2004 23:45  |
Nancy
Messages: 19 Registered: March 2002
|
Junior Member |
|
|
hi all,
I have a menu and I have print option in the menu. Now in the form there is a button called 'SAVE'. Now if I am printing I am getting the button too in the printout. I want to make the button in the form invisible while printing. But I want it in the form but not in the printout.How to do it? If any one can help me?
Regards
Nancy
|
|
|
|
|
Re: enable/disable buttons in the forms while printing from the menu [message #84727 is a reply to message #84721] |
Wed, 21 April 2004 05:10   |
jan
Messages: 71 Registered: August 2002
|
Member |
|
|
one way od dealing this would be to hide the button before printing...
i.e.
create a trigger on the menu item.
and write the code as
set_item_property('button_name',visible,property_false);
next call the print command which prints the screen.
and then enable the button
using set_item_property('button_name',visible,property_true);
hope this helps
Jan
|
|
|
|
|