FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index To do - WishList / Por hacer - Peticiones Enhancements to print preview
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Enhancements to print preview
Posted: Fri Apr 26, 2019 07:04 AM
  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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Enhancements to print preview
Posted: Mon May 13, 2019 04:15 PM
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 March-April 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
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Enhancements to print preview
Posted: Tue May 14, 2019 03:00 AM

Thank you for sharing Silvio. I'll add it to my notes

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion