FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TBarTabs - BARHEIGHT
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
TBarTabs - BARHEIGHT
Posted: Fri Oct 26, 2018 08:07 AM

Dear Antonio,
is there a way to change the barheight without changeing the sources.
I am sorry I do not understand totaly what you suggest in the Spanish forum.

viewtopic.php?f=6t=32970p=194140hilit=tabs+%23define+BARHEIGHT#p194140

Thank you and best regards
Otto

&&&

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TBarTabs - BARHEIGHT
Posted: Fri Oct 26, 2018 08:14 AM

Otto I'm afraid you cannot make it because you must change also the funcs draw the tabs (bmptabs.c)
I think you must use oldest Ttabs class

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: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: TBarTabs - BARHEIGHT
Posted: Fri Oct 26, 2018 08:44 AM

Otto,

You have to replace these functions with your own functions that return bitmaps handles with higher heights:

hBmpSel = bmp_TabSel()
hBmpSelL = bmp_TabSelL()
hBmpSelR = bmp_TabSelR()
hBmpUnSel = bmp_TabUnSel()
hBmpUnSL = bmp_TabUnSL()
hBmpUnSR = bmp_TabUnSR()

hBmpSelV = bmp_TabSelV()
hBmpSelLV = bmp_TabSelLV()
hBmpSelRV = bmp_TabSelRV()
hBmpUnSelV = bmp_TabUnSelV()
hBmpUnSLV = bmp_TabUnSLV()
hBmpUnSRV = bmp_TabUnSRV()

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion