RBBTN want one bitmap or we can change the bitmap ?
sample when I open
@ 3, (::oWndMain:nWidth()-20) RBBTN ::oToolButton ;
PROMPT "ToolBar" ;
SIZE 70,20 ;
BITMAP "TOOLBAR_ON"
when I close
@ 3, (::oWndMain:nWidth()-20) RBBTN ::oToolButton ;
PROMPT "ToolBar" ;
SIZE 70,20 ;
BITMAP "TOOLBAR_off"
any solution ?
i tried also with ::oToolButton:SetFile( "TOOLBAR_ON", "TOOLBAR_OFF" )
on rbtn class there is an error because
before on method setfile you can call 2 files with ::LoadBitmaps( cBmpUpFile, cBmpDownFile )
then on METHOD LoadBitmaps( cName ) you can load one file
I tried also with
IIF(lHide, oApp():oToolButton:SetFile( "TOOLBAR_OFF", "TOOLBAR_OFF" ),;
oApp():oToolButton:SetFile( "TOOLBAR_ON", "TOOLBAR_ON") )
but it not change the bitmap on rbtn
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