REQUESTFILE

reqfile.html
hide random home http://www.mentasm.com/~mramiga/c/reqfile.html (Amiga Plus Extra No. 5/97, 05/1997)


Format:   REQUESTFILE [DRAWER (drawer name)] [FILE (file)] [PATTERN (patern)] [TITLE (title)]
         [Positive (text)] [NEGATIVE (text)] [ACCEPTPATTERN (pattern)] REJECTPATTERN (pattern)]                   
[SAVEMODE] [MULTISELECT] [DRAWERSONLY] [NOICONS] [PUBSCREEN (public screen name)]
Template: DRAWER,FILE/K,PATTERN/K,TITLE/K,POSITIVE/K,NEGATIVE/K,ACCEPTPATTERN/K,REJECTPATTERN
/K,SAVEMODE/S,MULTISELECT/S,DRAWERSONLY/S,NOICONS/S,PUBSCREEEN/K
Location: C:

When entered with no arguments, a file requester with OK, Volumes, Parent, and Cancel buttons is created. Its Drawer and File gadgets are empty and it displays the contents of the most current directory.

The DRAWER argument specifies the initial contents of the Drawer gadget.

The file option specifies the initial contents of the File gadget.

the PATTERN option allows the use of a standard AmigaDOS pattern. It includes a Pattern gadget in the requester and specifies the initial contents of the gadget. If theis option is not provided, the file requester does not have a Pattern gadget.

The TITLE option specifies the text to appear in the tile of the requester.

The POSITIVE option specifies the text to appear in the positive (left) choice of the file requester.

The NEGATIVE option specifies the text to appear in the negative (right) choice in the file requester.

The ACCEPTPATTERN option specifies a standard AmigaDOS pattern. Only files matching this pattern are displayed in the file requester.

The REJECTPATTERN option specifies a standard AMigaDOS pattern. Files matching this pattern are not displayed in the file requester.

If SAVEMODE is specified, the requester is used for writting files to disk. If MULTISELECT is specified, the requester allows multiple files to be selected at once. If DRAWERSONLY is specified, the requester does not have a file gadget. This effectively turns the file requester into a directory requester. If NOICONS is specified, the reqester does not display .info files.


Example: