>Hi all
>
>I have an image on a container for status-bar. This has 3 status to make the user aware of 2 status are Add, Edit for which I have icons, but for View there is not supposed to be any icon.
>
>If I make the picture = "" will show a cross in a box, so i had to create and empty icon.
>
>Any way to avoid this behaviour.
I have this in the picture_assign
LPARAMETERS vNewVal
THIS.Picture = m.vNewVal
do case
case empty(vNewVal) or !File(vNewVal)
this.Visible = FALSE
otherwise
this.Visible = TRUE
endcase
Gregory