|
Class: FilenameEnterBox
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--TopView
|
+--StandardSystemView
|
+--ModalBox
|
+--DialogBox
|
+--EnterBox
|
+--FilenameEnterBox
- Package:
- stx:libwidg2
- Category:
- Views-DialogBoxes
- Version:
- rev:
1.16
date: 2021/01/20 14:39:46
- user: cg
- file: FilenameEnterBox.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
like a normal enterBox, but does filename-completion when TAB is pressed.
copyrightCOPYRIGHT (c) 1994 by Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
accessing
-
directoriesOnly
-
set to expand names for directories only
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
directoriesOnly: aBoolean
-
set/clear for directories only
-
directory: aFilename
-
set the directory
-
filesOnly
-
set to expand names for files only
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
filesOnly: aBoolean
-
set/clear for files only
initialization
-
createEnterField
-
redefined, since we need an editfield for filenames here
(if the class has not been compiled in, use a dumb default field)
examples (for ST-80 compatibility, please use Dialog messages):
simple (most common):
|someString|
someString := FilenameEnterBox request:'enter a filename:'.
Transcript showCR:someString
|
|