File Picker Widget?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 64
- Joined: Thu Jan 16, 2020 10:28 pm
- Location: Max Meadows, VA USA
File Picker Widget?
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.
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: File Picker Widget?
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
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: File Picker Widget?
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
Craig
Re: File Picker Widget?
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.
Hopefully, you'll elucidate on what your trying to accomplish.
-
- Posts: 64
- Joined: Thu Jan 16, 2020 10:28 pm
- Location: Max Meadows, VA USA
Re: File Picker Widget?
Thanks Craig. Yes, a control is what I mean. Jack
-
- Posts: 64
- Joined: Thu Jan 16, 2020 10:28 pm
- Location: Max Meadows, VA USA
Re: File Picker Widget?
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.bogs wrote: ↑Wed Jan 29, 2020 11:38 pmJust 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.
-
- Posts: 64
- Joined: Thu Jan 16, 2020 10:28 pm
- Location: Max Meadows, VA USA
Re: File Picker Widget?
Thank you. I think this is exactly what I was looking for. I’ll give it a try tomorrow.FourthWorld wrote: ↑Wed Jan 29, 2020 11:18 pmLC provides the "answer folder" and "answer file" commands to bring in the standard OS dialogs for picking file system objects.
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: File Picker Widget?
Happy to help. Keep us posted if we can provide anything else.JackieBlue1970 wrote: ↑Thu Jan 30, 2020 3:16 amThank you. I think this is exactly what I was looking for. I’ll give it a try tomorrow.FourthWorld wrote: ↑Wed Jan 29, 2020 11:18 pmLC 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
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn