TBarTabs - BARHEIGHT

TBarTabs - BARHEIGHT

Postby Otto » Fri Oct 26, 2018 8: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=6&t=32970&p=194140&hilit=tabs+%23define+BARHEIGHT#p194140

Thank you and best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6068
Joined: Fri Oct 07, 2005 7:07 pm

Re: TBarTabs - BARHEIGHT

Postby Silvio.Falconi » Fri Oct 26, 2018 8: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 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
User avatar
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: TBarTabs - BARHEIGHT

Postby Antonio Linares » Fri Oct 26, 2018 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Natter and 33 guests