Enhancements to print preview

Post Reply
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Enhancements to print preview

Post 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
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Enhancements to print preview

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Re: Enhancements to print preview

Post by hua »

Thank you for sharing Silvio. I'll add it to my notes
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
Post Reply