Enhancements to print preview

Post Reply
hua
Posts: 1075
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

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.12
BCC5.82/BCC7.3
xHarbour/Harbour
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
hua
Posts: 1075
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

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.12
BCC5.82/BCC7.3
xHarbour/Harbour
Post Reply