Hi Bernd,

I use this script in an image area:
on mouseup
    answer file "Kies een foto:" with type "All 
Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf"
               if it = empty
               then
                  put empty into img "foto1"
                    exit mouseUp
                 end if
               put url ("binfile:" & it) into img "foto1"
end mouseup

Like I said: tested on Windows 7 and OSX 10.6 with LC 4.5.3. All images show up 
in img "foto1". No luck with any bmp file.

Greetings,

William

-----
Verstuurd vanaf mijn iPhone!

Op 27 jan. 2011 om 13:43 heeft BNig <niggem...@uni-wh.de> het volgende 
geschreven:

> 
> Hi William
> 
> this works for me on MacOS 10.6.6 for all three file suffixes:
> 
> answer files "Kies een foto:" with type "All Images|png,jpg,bmp"
> 
> could you post the code that does not work for you? Any typos?
> 
> Kind regards
> 
> Bernd
> -- 
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Answer-file-with-type-BMPf-tp3236720p3242119.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to