3
' Copyright(C) 2011-2014, Michał Głowienka aka eloaders <eloaders@linux.pl>
5
' This program is free software; you can redistribute it and/or modify
6
' it under the terms of the GNU General Public License as published by
7
' the Free Software Foundation; either version 3 of the License, or
8
' (at your option) any later version.
10
' This program is distributed in the hope that it will be useful,
11
' but WITHOUT ANY WARRANTY; without even the implied warranty of
12
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
' GNU General Public License for more details.
15
' You should have received a copy of the GNU General Public License
16
' along with this program. If not, see <http://www.gnu.org/licenses/>.
20
Static Property Read Paths As String[]
21
Static Property {Date} As Date
22
Static Property AutoExt As Boolean
24
Static Public Function OpenFile(Optional Multi As Boolean) As Boolean
26
Return FFileDialog.OpenFile(Multi)
30
Static Public Function SaveFile() As Boolean
32
Return FFileDialog.SaveFile()
36
Static Public Function SelectDirectory() As Boolean
38
Return FDirDialog.SelectDirectory()
43
Static Private Function Paths_Read() As String[]
45
Return FFileDialog.Paths
50
Static Public Function SelectDate() As Boolean
52
Return FInputDate.SelectDate()
57
Static Private Function Date_Read() As Date
59
Return FInputDate.Date
63
Static Private Sub Date_Write(Value As Date)
65
FInputDate.Date = Value
69
Static Private Function AutoExt_Read() As Boolean
71
Return FFileDialog.AutoExt
75
Static Private Sub AutoExt_Write(Value As Boolean)
77
FFileDialog.AutoExt = Value