File Picker Widget?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JackieBlue1970
Posts: 64
Joined: Thu Jan 16, 2020 10:28 pm
Location: Max Meadows, VA USA

File Picker Widget?

Post by JackieBlue1970 » Wed Jan 29, 2020 11:15 pm

Hi. Is there a widget that combines the functionality of selecting a directory and file? I see how I could use Files and Folders, with a list control, to provide similar functionality. But, honestly, that is not a very elegant way to do it. It seems like there should be a widget for this. TIA.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: File Picker Widget?

Post by FourthWorld » Wed Jan 29, 2020 11:18 pm

LC provides the "answer folder" and "answer file" commands to bring in the standard OS dialogs for picking file system objects.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: File Picker Widget?

Post by dunbarx » Wed Jan 29, 2020 11:35 pm

Just to be clear, "widget" means something very specific in LiveCode. Did you actually mean that, or rather, as I say all the time, a "gadget", that is, a control or whatever with the functionality that does what you need.

Craig

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: File Picker Widget?

Post by bogs » Wed Jan 29, 2020 11:38 pm

Just to be even clearer, I'd be curious if you could give a clearer idea of what your asking about. As Richard mentioned, answer files / folders gives you a standard dialog box. You mention using 'the files / the folders' and a list box, which seems to me like you are trying to create a directory tree, or something similar.

Hopefully, you'll elucidate on what your trying to accomplish.
Image

JackieBlue1970
Posts: 64
Joined: Thu Jan 16, 2020 10:28 pm
Location: Max Meadows, VA USA

Re: File Picker Widget?

Post by JackieBlue1970 » Thu Jan 30, 2020 3:09 am

dunbarx wrote:
Wed Jan 29, 2020 11:35 pm
Just to be clear, "widget" means something very specific in LiveCode. Did you actually mean that, or rather, as I say all the time, a "gadget", that is, a control or whatever with the functionality that does what you need.

Craig
Thanks Craig. Yes, a control is what I mean. Jack

JackieBlue1970
Posts: 64
Joined: Thu Jan 16, 2020 10:28 pm
Location: Max Meadows, VA USA

Re: File Picker Widget?

Post by JackieBlue1970 » Thu Jan 30, 2020 3:11 am

bogs wrote:
Wed Jan 29, 2020 11:38 pm
Just to be even clearer, I'd be curious if you could give a clearer idea of what your asking about. As Richard mentioned, answer files / folders gives you a standard dialog box. You mention using 'the files / the folders' and a list box, which seems to me like you are trying to create a directory tree, or something similar.

Hopefully, you'll elucidate on what your trying to accomplish.
Thanks for your response. Yes, I think the Answer Files, etc. may be what I am getting at. I am thinking of like a control in VB that handles navigating the file system to select a file.

JackieBlue1970
Posts: 64
Joined: Thu Jan 16, 2020 10:28 pm
Location: Max Meadows, VA USA

Re: File Picker Widget?

Post by JackieBlue1970 » Thu Jan 30, 2020 3:16 am

FourthWorld wrote:
Wed Jan 29, 2020 11:18 pm
LC provides the "answer folder" and "answer file" commands to bring in the standard OS dialogs for picking file system objects.
Thank you. I think this is exactly what I was looking for. I’ll give it a try tomorrow.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: File Picker Widget?

Post by FourthWorld » Thu Jan 30, 2020 3:30 am

JackieBlue1970 wrote:
Thu Jan 30, 2020 3:16 am
FourthWorld wrote:
Wed Jan 29, 2020 11:18 pm
LC provides the "answer folder" and "answer file" commands to bring in the standard OS dialogs for picking file system objects.
Thank you. I think this is exactly what I was looking for. I’ll give it a try tomorrow.
Happy to help. Keep us posted if we can provide anything else.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”