[Gambas-user] BOOLEAN PICTURE PROPERTY

BUDI ARIEF GUSANDI budi.a.gusandi at ...626...
Wed Jun 15 10:08:44 CEST 2005


Daniel Campos wrote:

Daniel, are you using yahoo messenger or any ? we can chat..

> Hi:
>
> IF PictureBox1.Picture=NULL THEN
>  PRINT "BLANK"
> ELSE
>  PRINT "NOT BLANK"
> END IF
>
>
> Regards,
>
> D. Campos
>
>
>
> BUDI ARIEF GUSANDI escribió:
>
>> Hi all,
>>
>> How could i know whether picturebox component (or any which has 
>> picture property) has picture or not (empty) ?
>> I figure out for several minutes and comes up with this. I dont know 
>> why it returns blank not F when false, eventho i try using 
>> isnull(picturebox1.picture) :
>>
>> assume picturebox1 contains no picture
>> if  picturebox1.picture <> "" then
>> ' This Return Blank not F for false, means no picture
>> else
>> 'Return T for True, means there's picture there
>> endif
>>
>> Any knows why ?
>>
>> Regards,
>> Budi
>>
>>
>>
>> -------------------------------------------------------
>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>> informative Webcasts and more! Get everything you need to get up to
>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>





More information about the User mailing list