Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Select folder

Author
Message
Guido Italy
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 31st Jul 2013 16:12
Hi all !

please ,
how can I see all the subdirectories (below a specific directory)
and select one of my choice?

Thank
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 31st Jul 2013 17:09
Look at the commands under the 'Directory' heading on this page.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Guido Italy
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 31st Jul 2013 22:23
thank (!)

but, I looked at the controls for the folder (eg GetFirstFolder etc etc )


but the problem is this:

in my app a user should be able to choose
objects that are arranged in various folder.

the user must be able to see the various folders and then be able to choose the one that interests him

sorry for google translate ...

thank

can you write a snippets for for this question ?
fog
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location: Newcastle, England
Posted: 1st Aug 2013 01:54 Edited at: 1st Aug 2013 01:55
It sounds as if you want something like ChooseRawFile()

I've never used it though and it looks like it might only return a file and not a directory. If not then you might need to request a new feature.

http://www.appgamekit.com/documentation/Reference/File/ChooseRawFile.htm

Note: The "Raw" commands are PC & Mac only.

Guido Italy
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 1st Aug 2013 15:28
two problem ...

i work on android ...
and I need "ChooseFolder"


can you have a snippet for Android?

thank Guido
fog
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location: Newcastle, England
Posted: 1st Aug 2013 16:51
In which case it looks like you will have to make a list of all available directories yourself using GetFirstFolder() and GetNextFolder()

Then display this list and act on any user input yourself, recreating a new list every time the user changes directory.

Guido Italy
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 2nd Aug 2013 13:48
Thank !
but ...

how can the user do when you see the list
to select the folder that interests?

Thank and re-sorry for my english ...
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 2nd Aug 2013 21:12
you can create some labels on the screen that the user can click.
at GetTextHitTest is a exapmle:

http://www.appgamekit.com/documentation/Reference/Text/GetTextHitTest.htm
Guido Italy
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 3rd Aug 2013 17:13
OK !!!

Thank !
Santman
13
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 11th Aug 2013 13:16
Getfirstfolder and getnextfolder don't work on android, unless Paul very recently got them working.
Guido Italy
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 11th Aug 2013 14:45
Yes work !

Login to post a reply

Server time is: 2024-11-24 17:43:04
Your offset time is: 2024-11-24 17:43:04