GLBasic forum

Main forum => GLBasic - en => Topic started by: spicypixel on 2012-Sep-10

Title: Equivalent FILEREQUEST$() for Folders?
Post by: spicypixel on 2012-Sep-10
Is there a command to select a folder instead of a file, something similar to FOLDERREQUEST$()
Title: Re: Equivalent FILEREQUEST$() for Folders?
Post by: Moru on 2012-Sep-11
Sadly not. I usually make a file in the folder, select it and strip off the filename from the resulting path.
Title: Re: Equivalent FILEREQUEST$() for Folders?
Post by: spicypixel on 2012-Sep-11
Ideal for me not so good for user(s), didn't think so but cheers Moru ;)
Title: Re: Equivalent FILEREQUEST$() for Folders?
Post by: Moru on 2012-Sep-11
Yes, all programs I have written with that command has been for my own usage, nothing else. So that works. But I do miss a proper folder-select command.
Title: Re: Equivalent FILEREQUEST$() for Folders?
Post by: spicypixel on 2012-Sep-12
The worst thing about it is if you make a program which you know a friend will use and although you can explain that they need to select a file even if its for dummy usage and the program will work fin, deep down you feel like an idiot for the fact you cant make it simpler due to language restrictions.

I HATE THAT lol :D
Title: Re: Equivalent FILEREQUEST$() for Folders?
Post by: Moru on 2012-Sep-12
On the other hand, the default folder-selection tool in windows XP is worthless. No way of typing/pasting in a path so you have to go thru the whole path from root to get where you want to be. Is the only way to do it to make your own folder selection?
Title: Re: Equivalent FILEREQUEST$() for Folders?
Post by: spicypixel on 2012-Sep-12
Could use filerequest but with SAVE that way you only need to specify a folder and then you can just use the info from that. Admittedly you will need to save a file in there (Use KILLFILE to remove it) but least its handy for Folder selection. What you reckon?
Title: Equivalent FILEREQUEST$() for Folders?
Post by: Kitty Hello on 2012-Sep-13
DDgui has a folder selector. At least in v12, i think.
But you're right, its missing.
Title: Equivalent FILEREQUEST$() for Folders?
Post by: Kitty Hello on 2012-Sep-13
Btw the win inline command is shbrowseforfolder iirc.
Title: Re: Equivalent FILEREQUEST$() for Folders?
Post by: Minion on 2012-Sep-14
Quote from: Kitty Hello on 2012-Sep-13
DDgui has a folder selector. At least in v12, i think.
But you're right, its missing.

V12 ? But we`ve only just got V11 !!! Is this planned for the next release then ? ;)
Title: Re: Equivalent FILEREQUEST$() for Folders?
Post by: spicypixel on 2012-Sep-14
Quote from: Kitty Hello on 2012-Sep-13
Btw the win inline command is shbrowseforfolder iirc.

Not sure how to use inline nor am I a C guy so......  :'( lol
Title: Re: Equivalent FILEREQUEST$() for Folders?
Post by: kanonet on 2012-Sep-14
Quote from: Minion on 2012-Sep-14
Quote from: Kitty Hello on 2012-Sep-13
DDgui has a folder selector. At least in v12, i think.
But you're right, its missing.

V12 ? But we`ve only just got V11 !!! Is this planned for the next release then ? ;)
I guess he means DDgui V2012 not GLB V12. ;)