Choosing a file

Moderators: LCNeil, heatherlaine, kevinmiller, elanorb

Post Reply
Livecode Staff Member
Livecode Staff Member
Posts: 433
Joined: Fri Feb 24, 2006 9:45 am

Choosing a file

Post by elanorb » Thu Oct 10, 2013 10:56 am

Hi all

As discussed in yesterday's webinar here is the code for getting a file from an answer dialog

Code: Select all

on mouseUp
   answer file "Choose a file to upload"
   if the result is "cancel" then
      put empty into field "fileField"
      put it into field "fileField"
   end if
end mouseUp
Kind regards

Elanor Buchanan
Software Developer

Post Reply

Return to “idea2app and Coding School”