Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image.Picture if left blank
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
00971318
Message ID:
00971320
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>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

*To do: Modify this routine for the Assign method
THIS.Picture = m.vNewVal

do case
case empty(vNewVal) or !File(vNewVal)
	this.Visible = FALSE

otherwise
	this.Visible = TRUE

endcase
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform