Welcome! Log In Create A New Profile

Advanced

WD24 - fSelect()

Posted by AadG 
WD24 - fSelect()
February 01, 2021 01:33PM
Hi all,

I have a question about the use of fSelect. I want the user to pick a file from a designated map. I use fSelect(sPath, etc). When the picking window opens, the files in the designated map are shown and the user can pick one, but... he is free to wonder around to other higher maps, even the root of the drive. Is there a way to prevent this ?

Thanks for any help.

Best regards,

Aad
Argus
Re: WD24 - fSelect()
February 01, 2021 02:30PM
instead of fselect, use flistfiles of your directory and display the result in a list
Re: WD24 - fSelect()
February 02, 2021 11:28AM
Thanks Argus,

I was hoping for a simple parameter. Used fListfile now and it works OK.

Best regards,

Aad
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: