Nevron Forum

NFileLookup for directory browsing

https://www.nevron.com/Forum/Topic4406.aspx

By JSW W. - Wednesday, October 27, 2010

Hi I want to use NFileLookup for directory browsing not a file.
Can i do so?

Do i get directory from object.TEXT ?
Thanks,
By Nevron Support - Wednesday, October 27, 2010

Hi JSW W.,

NFileLookup is using OpenFileDialog internally to select a file, so it won't let you select just a directory instead of file.

You can attach to FileSelected event and set the NFileLookup.Text to the directory that contain the file, but it won't be like folder browser dialog because you have to select a file not directory.