Hi. Any one know of a way to deactivate the SAVE option on the printing preview?
The save option seems to save each page as a seperate image. This could get very messy if a user hits this button by accident on a 100 page report.
Thanks.
Mark
Printing
Moderator: Rathinagiri
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Printing
Hi Mark:
try disabling the Button 'Save'
it is in C:\hmg.3.0.46\SOURCE\h_controlmisc.prg
in the window _HMG_PRINTER_PPNAV line 4433
and the control is called b7 line 4524
but it gives me error and says that the control does not exist
try disabling the Button 'Save'
Code: Select all
DoMethod ( "_HMG_PRINTER_PPNAV", "b7" , "Hide" )
in the window _HMG_PRINTER_PPNAV line 4433
and the control is called b7 line 4524
Code: Select all
DEFINE BUTTON b7
ROW 2
COL 246
WIDTH 30
HEIGHT 30
PICTURE "HP_SAVE"
TOOLTIP _HMG_SYSDATA [ 371 ] [27] + ' [Ctrl+S]'
ACTION _hmg_printer_savepages()
END BUTTON
I do not know why there is no brandDate:11/22/12 Time: 14:27:34
Error: HMG 3.0.46 (2012.11.06)
Control: b7 Of _HMG_PRINTER_PPNAV Not defined. Program Terminated
Called from DOMETHOD(7448)
Called from PRINTTEST4(112)
Called from (b)MAIN(41)
Called from _DOCONTROLEVENTPROCEDURE(5276)
Called from EVENTS(1391)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4935)
Called from MAIN(49)
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: Printing
Thanks. I am hesistant to change anything in source code directly to remove the button, as I will need to change it for every new release then.
Maybe someone else has some ideas.
Mark
Maybe someone else has some ideas.
Mark