Einzelnen Beitrag anzeigen
Alt 11.10.2012, 00:56   #106
leecher
Moderator
SEL_FN

E r g e b n i s / R e s u l t

The routine shows the file browsing dialog and returns the name of the selected file.

B e s c h r e i b u n g / D e s c r i p t i o n

SEL_FN is an interface to the OpenAccess internal File browsing dialog.
It displays the file selection dialog, the available files in the list are filtered by the search mask given in msk.

S y n t a x

Code:
filename = call ('SEL_FN' , msk)
P a r a m e t e r

msk - The search mask for the files the user can select, i.e. *.TXT or *.*

R e t u r n s

The full filename the user selected (i.e. MAIN:FILE.TXT) or an empty string, if the user cancelled.

B e i s p i e l / E x a m p l e

Code:
attach 'FILENAME'
put call ('SEL_FN' , '*.TXT') ! Shows the filename of the file the user selected
detach 'FILENAME'
Angehängte Dateien
Dateityp: oac FILENAME.OAC‎ (12.0 KB, 3x aufgerufen)
leecher ist offline   Mit Zitat antworten