3 <title>KOL Help: TOpenSaveDialog object (main frame)
</title>
7 <body bgcolor=
"#FFFFEF" text=
"#000000" link=
"#008080" vlink=
"#008000" alink=
"#808000">
8 <p><font face=
"Courier" color=
"#800080"><b>TOpenSaveDialog( unit
<a href=kol_pas.htm
>KOL.pas
</a> )
9 <font face=
"Wingdings">ï
</font> <a href=tobj.htm
>TObj
</a>
10 <font face=
"Wingdings">ï
</font> <a href=_tobj.htm
>_TObj
</a>
13 TOpenSaveDialog = object(
<a href=tobj.htm
target=
"_top">TObj
</a> )
15 Object to show standard Open/Save dialog. Initially provided
17 <h3 align=
"center"><font color=
"#FF8080">TOpenSaveDialog properties
</font></h3>
18 <a name=
"filename"></a>
20 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Filename
</b></font>:
<b>String
</b>;
</font>
22 Filename is seperated by #
13 when multiselect is true and the first
23 file, is the path of the files selected.
29 If only one file is selected, it is provided as (e.g.)
31 <br> For case when OSAllowMultiselect option used, after each
32 call initial value for a Filename containing several files prevents
33 system from opening the dialog. To fix this, assign another initial
34 value to Filename property in your code, when you use multiselect.
36 <a name=
"initialdir"></a>
38 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>InitialDir
</b></font>:
<b>string
</b>;
</font>
40 Initial directory path. If not set, current directory (usually
41 directory when program is started) is used.
45 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Filter
</b></font>:
<b>String
</b>;
</font>
47 A list of pairs of filter names and filter masks, separated with '
¦'.
48 If a mask contains more than one mask, it should be separated with ';'.
50 <p align=left
><font face=
"Courier" color=
"008080"><b><pre>
51 <font color=
"A08020">'All files|*.*|Text files|*.txt;*
.1st;*.diz'
</font>
54 <a name=
"filterindex"></a>
56 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>FilterIndex
</b></font>:
<b>Integer
</b>;
</font>
58 Index of default filter mask (
0 by default, which means
"first
").
60 <a name=
"opendialog"></a>
62 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>OpenDialog
</b></font>:
<b>Boolean
</b>;
</font>
64 True, if
"Open
" dialog. False, if
"Save
" dialog. True is default.
68 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Title
</b></font>:
<b>String
</b>;
</font>
72 <a name=
"options"></a>
74 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Options
</b></font>:
<a href=kol_pas.htm#topensaveoptions
target=
"_top">TOpenSaveOptions
</a>;
</font>
78 <a name=
"defextension"></a>
80 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>DefExtension
</b></font>:
<b>String
</b>;
</font>
82 Default extention. Set it to desired extension without leading period,
83 e.g. 'txt', but not '.txt'.
85 <a name=
"wndowner"></a>
87 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>WndOwner
</b></font>: THandle;
</font>
89 Owner window handle. If not assigned,
<a href=kol_pas.htm#applet#handle
>Applet.Handle
</a> is used (whenever
90 possible). Assign it, if your application has stay-on-top forms, and
91 a separate
<a href=kol_pas.htm#applet
target=
"_top">Applet
</a> object is used.
93 <h4 align=
"center"><font color=
"black">Properties, inherited from
<a href=
"tobj.htm" target=
"_top">TObj
</a></font></h4>
94 <h3 align=
"center"><font color=
"#FF8080">TOpenSaveDialog methods
</font></h3>
95 <a name=
"destroy"></a>
97 <font face=
"Courier" color=
"#800080"><b>destructor
</b> <font color=
"#808000"><b>Destroy
</b></font>;
<b>virtual
</b>;
</font>
101 <a name=
"execute"></a>
103 <font face=
"Courier" color=
"#800080"><b>Function
</b> <font color=
"#808000"><b>Execute
</b></font>:
<b>Boolean
</b>;
</font>
105 Call it after creating to perform selecting of file by user.
107 <h4 align=
"center"><font color=
"black">Methods, inherited from
<a href=
"tobj.htm" target=
"_top">TObj
</a></font></h4>
108 <h3 align=
"center"><font color=
"#FF8080">TOpenSaveDialog events
</font></h3>
109 <h4 align=
"center"><font color=
"black">Events, inherited from
<a href=
"tobj.htm" target=
"_top">TObj
</a></font></h4>
110 <h3 align=
"center"><font color=
"#FF8080">TOpenSaveDialog fields
</font></h3>
111 <h4 align=
"center"><font color=
"black">Fields, inherited from
<a href=
"tobj.htm" target=
"_top">TObj
</a></font></h4>
113 <p align=
"center">[
<a href=index.htm
>Index
</a> ]
</p>
114 <p align=
"center"><font face=
"Comic Sans MS"><small>This help is generated
22-Sep-
2005 by KOL Help generator, (C)
2000-
2001 by Vladimir Kladov
<br>Modified (C)
2003 by Alexander Bartov
</small></font></p>