[Gambas-user] BOOLEAN PICTURE PROPERTY

BUDI ARIEF GUSANDI budi.a.gusandi at ...626...
Wed Jun 15 09:58:14 CEST 2005


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





More information about the User mailing list