How to change BitMap (Resource) in TSBUTTON after Dialog ACTIVATE?
Example ( not work )
======
Code: Select all
DEFINE DIALOG RESOURCE 'TEST'
REDEFINE SBUTTON oBtn PROMPT 'TEST' ID 11 OF oDlg ;
ACTION ChangeBitMap( oBtn )
ACTIVATE DIALOG oDlg
Function ChangeBitMap( oBtn )
oBtn:hBitMap1 := LoadBitmap( GetResources(), 'SMILE' )
oBtn:Refresh()
return nil
Dutch