Marko Druskovic Member Licensed User Longtime User Mar 8, 2017 #1 Hello! I have problem with FilePicker I want to be able to select only one file. In "selection mode" I put "0" but not working. Please help Thnx! Attachments greska.png 70.3 KB · Views: 855
Hello! I have problem with FilePicker I want to be able to select only one file. In "selection mode" I put "0" but not working. Please help Thnx!
DonManfred Expert Licensed User Longtime User Mar 8, 2017 #2 Slectionmode 0 = files. So only files are listed. Based on the screenshot is is working.... You get the list of files where you can select one to many files The lib does not have the possibility to select only ONE file/folder... Upvote 0
Slectionmode 0 = files. So only files are listed. Based on the screenshot is is working.... You get the list of files where you can select one to many files The lib does not have the possibility to select only ONE file/folder...
Marko Druskovic Member Licensed User Longtime User Mar 8, 2017 #3 Thnx for replay, but what does it mean: Initialize (EventName AsString, root AsString, selectionMode AsInt, selectionType AsInt, extensions() AsString) Selection Mode defines whether a single of multiple Files/Directories have to be selected. SINGLE_MODE and MULTI_MODE are the two selection modes, See DialogConfigs for more info. Set to Single Mode by default. Selection Type defines that whether a File/Directory or both of these has has to be selected. Upvote 0
Thnx for replay, but what does it mean: Initialize (EventName AsString, root AsString, selectionMode AsInt, selectionType AsInt, extensions() AsString) Selection Mode defines whether a single of multiple Files/Directories have to be selected. SINGLE_MODE and MULTI_MODE are the two selection modes, See DialogConfigs for more info. Set to Single Mode by default. Selection Type defines that whether a File/Directory or both of these has has to be selected.
DonManfred Expert Licensed User Longtime User Mar 8, 2017 #4 Code: props.Initialize("",File.DirRootExternal,0,0,Null) 'Array As String(".jpg",".png",".pdf")) fp.Initialize("FilePicker") fp.Properties = props works for me.... I get a list of folders and files. But only one file can be selected at a time.... Upvote 0
Code: props.Initialize("",File.DirRootExternal,0,0,Null) 'Array As String(".jpg",".png",".pdf")) fp.Initialize("FilePicker") fp.Properties = props works for me.... I get a list of folders and files. But only one file can be selected at a time....