dlgFileExpl.Initialize(Activity, "/mnt/sdcard", ".csv", True, False, "OK")
dlgFileExpl.DialogRect.Left = 25dip
dlgFileExpl.DialogRect.Right = 100%x - 25dip
dlgFileExpl.DialogRect.Top = PnlContent.Top
dlgFileExpl.DialogRect.Bottom = 95%y
dlgFileExpl.BackgroundColor = Colors.LightGray
dlgFileExpl.BorderColor = Colors.RGB(128, 128, 128)
dlgFileExpl.FastScrollEnabled = True
dlgFileExpl.FolderTextColor = Colors.Black
dlgFileExpl.FileTextColor1 = Colors.Blue
dlgFileExpl.FileTextColor2 = Colors.White
dlgFileExpl.DividerColor = Colors.Gray
dlgFileExpl.Explorer
If Not(dlgFileExpl.Selection.Canceled Or dlgFileExpl.Selection.ChosenFile = "") Then
Msgbox("File:" & CRLF & dlgFileExpl.Selection.ChosenPath & "/" & dlgFileExpl.Selection.ChosenFile, "Your choice")
Table1.Visible = True
imgCSV.SendToBack
imgCSV.Visible = False
btnCancel.Visible = True
btnImport.Visible = True
Table1.LoadTableFromCSV(dlgFileExpl.Selection.ChosenPath , dlgFileExpl.Selection.ChosenFile,True)
End If