I am trying to use the file picker and thought it would work much as the Date Picker but I must be doing something wrong.
My Code:
Dim xdir As String
xdir = "/mnt/sdcard/Docments"
Dim fd As FileDialog
Dim ret As Int
fd.FastScroll = True
fd.FilePath = xdir
'fd.FileFilter = ".txt" ''''Remmed as I want all file
'fd.ChosenName = "SomeFile.txt"
I am not sure what fd.chosenName is as I never get any opportunity to chose a file. Nothing appears at all on the screen although it does execute because I can stop the process at any step - just never see anything on the screen. Is there a full example somewhere? Or is it just too simple...
Thanks
My Code:
Dim xdir As String
xdir = "/mnt/sdcard/Docments"
Dim fd As FileDialog
Dim ret As Int
fd.FastScroll = True
fd.FilePath = xdir
'fd.FileFilter = ".txt" ''''Remmed as I want all file
'fd.ChosenName = "SomeFile.txt"
I am not sure what fd.chosenName is as I never get any opportunity to chose a file. Nothing appears at all on the screen although it does execute because I can stop the process at any step - just never see anything on the screen. Is there a full example somewhere? Or is it just too simple...
Thanks