Hi, all !
How may change Color, Font and Height control of TTabs classl ? I can changed Width and aSized only(FWH 8.04)
Hi, all !
How may change Color, Font and Height control of TTabs classl ? I can changed Width and aSized only(FWH 8.04)
Natter,
Class TTabs uses different bitmaps to paint the tabs, so in order to use your own images you have to replace these functions with yours:
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()
each one returns a bitmap handle. So there is no way to change the color unless you replace those functions with yours.
Thank, Antonio !
But I make up use class RFOLDER instead of TTABS