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