Page 1 of 1

Enhancements to print preview

PostPosted: Fri Apr 26, 2019 7:04 am
by hua
1. Would like to have ability to indicate specifically which button(s) don't want to be displayed at preview. Maybe by passing an array of logical values where each element position correspond to the button's position

2. Ability to specify alternative button bar images for used at preview

Re: Enhancements to print preview

PostPosted: Mon May 13, 2019 4:15 pm
by Silvio.Falconi
hua wrote:1. Would like to have ability to indicate specifically which button(s) don't want to be displayed at preview. Maybe by passing an array of logical values where each element position correspond to the button's position

2. Ability to specify alternative button bar images for used at preview



to answer all your questions I tell you that you can do it through an override of the class by writing the functions yourself instead of the methods to be changed. I did it this way and changed it :
METHOD BuildButtonBar
METHOD BuildListView
METHOD BuildMenu
METHOD SaveAsMenu
METHOD PrintersMenu
inserting custom buttons and changing some things because on win 7 and win 10 there is something that does not work at the graphics level

Re: Enhancements to print preview

PostPosted: Tue May 14, 2019 3:00 am
by hua
Thank you for sharing Silvio. I'll add it to my notes