Ok, how about changing the bitmap on a TbnBmp object at runtime?
Here is my code, but it isn't changing the bitmap.
- Code: Select all Expand view
...
REDEFINE BUTTONBMP ::oBalance BITMAP "dotGreen" ID 501 OF ::oDlg TEXTRIGHT ;
PROMPT oSelf:cDebt UPDATE
...
::oBalance:SetText( ::cDebt )
::oBalance:LoadBitMaps( IIF( nDebt > 0, "DotRed", "DotGray" ) )
::oBalance:Refresh()
Ideas?
Thank you,
Reinaldo.