Answer file with type BMPf?

William de Smet williamdesmet at gmail.com
Tue Jan 25 13:19:14 EST 2011


Hi there,

Why doesn't this work for BMP files?
answer file "Kies een foto:" with type "All
Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf"

on mouseup
    answer file "Choose:" with type "All
Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf"
               if it = empty
               then
                  put empty into img "x1"
                    exit mouseUp
               end if
               put url ("binfile:" & it) into img "x1"
end mouseup

greetings,

William




More information about the use-livecode mailing list