home *** CD-ROM | disk | FTP | other *** search
-
- FileRequest V2.0 written in november 1989 by F.Lienhardt
- ----------------------------------------------------------
-
- This programm is the update to Fileselect V1.0 (Fish 173).
-
- Some possibilities has been added or changed:
-
- - Window can now be dragged and some features of the window
- has been completely rethinked.
-
- - Ten devices (the most current) can be called by Gadgets. When
- the devices are not available, they are ghosted. (The routine
- to recognize what devices are present, is the same one that in
- the Devstat programm).
-
- - Naturally, you can type your device name in the drawer field.
-
- - When you move the movergadget, the scrolling of the filenames
- has 3 speed. The directory can scroll pixel/pixel, 3pixels/3pixels
- or 9pixels/9pixels when they are a lot of files to list.
-
- - When you remove the current disk, it is automatically recognized.
- The drawer is initialised and all filenames are deleted in the
- directory window.
-
- - If you insert a new disk in the current drive, his directory is
- directly read. If you insert the same disk that you have removed,
- his directory appairs automatically without reading disk (it
- recognize it on the disk name).
-
- Some advantage of Fileselect V1.0 has been taked again:
-
- - Selection from a gadget is accepted in real time. Ex: you load
- the directory from Df0 and you click on the DF1 gadget, the
- reading of the directory from Df1 begin immediately without
- waiting the end of reading Df0.
-
- - The result of reading directory appairs in the filenames window,
- sub-directories and filenames are separated. Sub-directories in
- color No 3, filenames in color No1.
-
- - Names are sorted in alphabetical order on the first letter.
-
-
- The FileRequest routine is called with some parameters:
-
- a0=_FileRequest (Outputhandle, xpos, ypos, windowtitle)
- d0 d1 d2 a1
-
- Outpuhandle: the handle (pointer) on your window or screen to
- receive the FileRequest window.
- xpos : position of the beginning from your window.
- ypos : position of the beginning from your window.
- windowtitle: adress from your window title.
-
- The result is given in a0. (a0)=0 when no file selected (when you
- click on cancel). Else it gives the adress of the filenamebuffer.
- Ex: (a0)="Df0:devs/printers/epson".
-
- The source of this programm is written with Hisoft's Devpac Assembler V2.12.
-
- Suggests by : Fabrice LIENHARDT
- 7, rue de LEICESTER
- 67000 STRASBOURG (FRANCE)
-
-