Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image.Picture if left blank
Message
From
22/12/2004 05:28:23
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00971318
Message ID:
00971320
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform