I need a little help!
This a example of my code:
- Code: Select all Expand view RUN
...
oBrw:aCols[7]:addResource( "IMAGE_TRUE" )
oBrw:aCols[7]:addResource( "IMAGE_FALSE" )
oBrw:aCols[7]:bStrData := NIL
oBrw:aCols[7]:nDataStrAlign := AL_CENTER
oBrw:aCols[7]:bBmpData := {|| if( ( cAlias )->situacao, 1, 2 ) }
...
When the ( cAlias )->situacao is true, the xBrowse displays the image at position 1 of correct way.
But, when is false... it's not displays the image at position 2.
Where I'm wrong?