home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
disks
/
disk396.lzh
/
PFiler
/
User.Doc
< prev
next >
Wrap
Text File
|
1990-10-29
|
4KB
|
89 lines
PFiler
-------------------
1990 by Preben Nielsen.
Oehlenschlægersgade 72 St. T.V.
1663 Copenhagen V. (Denmark).
PFiler is 100% Public Domain.
PFiler is a file-selector, which you can linked onto your own
programs (See PFilerDemo and Prog.Doc for more detail).
This selector is:
a). Dynamic; it allocates the needed memory while
scanning a directory.
b). Asynchronous; you can select files, change directories, exit,
scroll through the file list etc., while the selector is scanning
a directory or sorting (Sorting is actually done while scanning).
When the selector opens its window, it will look something like this:
---------------------------------------
| Select a file |
|---------------------------------------|
| File1 230 -- |
| File2 62637 | | |
| File3 23 | | |
| File4 129456 | | |
| (dir) Dir1 | | |
| (dir) Dir2 | | |
| (dir) Dir3 | | |
| ________________________ |__| |
| Path | | | | |
| |------------------------| |--| |
| File |________________________| |__| |
| |
| Ok Parent Cancel |
|_______________________________________|
The Title and and the text in the 'Ok' and 'Cancel' gadgets
can be changed by the calling program. The calling program also
decides whether or not the selector should include '.info' files
in the list.
The window contains:
o The area where names are shown and can be selected by clicking
on them.
o A 'Path' string-gadget where you can enter the path you want.
o A 'File' string-gadget where you can enter the file you want.
o A proportional gadget for fast scrolling through the names.
o Two arrow gadgets for slow scrolling through the names.
o A 'Parent' gadget which allows you to jump back to the parent
of the current directory.
o A 'Ok' gadget which you use to end the selector and accept your
choices. This is equivalent to double clicking on a file name, or
to press return while the 'File' string
o A 'Cancel' gadget which you use to end the selector and reject
your choices.
When the selector is first opened (and when you change directory),
the Device-List is searched for drives, volumes, and logical devices.
These are then added to the list. Then files and directories in the
current directory is added to the list, which remains sorted all the
time.
When you after or during the making of the list, scrool through
it, it will seem like it only contains files and directories. This is
not quite true; clicking the Menu button on the mouse will make the
drives, volumes and logical devices visible (C:, LIBS: etc.) at the
bottom of the list. After doing so, subsequent clicks with the Menu
button will move you quickly around in the list; when the name at the
top of the display is a a:
file, a click will move you to the directories.
directory, a click will move you to the devices.
device, a click will move you to the files.
Thats all.