home *** CD-ROM | disk | FTP | other *** search
- program PanScrollerDemo;
- uses crt, pickf;
- var dir : PickFile;
- begin
- TextBackground(BLUE);
- clrscr;
- writeln('The following is a demonstration of the PanScroller object which provides');
- writeln('reusable cursor movement control with window scrolling. Now you can write');
- writeln('text editors, data browsers, spreadsheet grids, game maps, scrolling pick');
- writeln('lists, etc., without having to code cursor dragging the window routines.');
- writeln('See panscrol.int for details and the interface section of panscrol.pas.');
-
- writeln;
- writeln('A generic PickList object is derived from FlexList in pick.pas, which uses');
- writeln('the PanScroller object to control cursor movement and window scrolling.');
- writeln('The popup windows, keyboard processing, etc, are provided by CrtPlus.');
- writeln('Then a PickFile object is derived from PickList for directory listings.');
- writeln;
- writeln('The PickFile window responds to the following key strokes:');
- writeln;
- writeln(' PgUp, PgDn, and cursor arrows work as expected.');
- writeln(' Press "Enter" on a subdirectory to view that directory.');
- writeln(' Press "Enter" on ".." to return to parent directory.');
- writeln(' Press "Esc" to exit.');
- writeln;
- writeln('Press ''Enter'' to view the current directory.');
- readln;
- dir.init('*.*');
- dir.query;
- dir.done;
- writeln;
- writeln('Press ''Enter'' to continue...');
- readln;
- clrscr;
- writeln('FlexList is a hybrid stack-queue-list-array generic object. That');
- writeln('means you can initialize an instance of a FlexList to hold any');
- writeln('type of data. A FlexList can be accessed as a stack, queue, list,');
- writeln('or array interchangeably!');
- writeln;
- writeln('CrtPlus provides keyboard, screen, cursor, and window enhancements');
- writeln('to Turbo''s crt unit.');
- writeln;
- writeln('Both FlexList and CrtPlus are available as shareware on BBS''s.');
- writeln('Registered versions are $20 each and include manual and source code.');
- writeln;
- writeln('Register PanScroller for $7 and you will receive its source code');
- writeln('on a 5 1/4" diskette.');
- writeln;
- writeln('PSW / Power SoftWare');
- writeln('P.O. Box 10072');
- writeln('McLean, VA 22102 8072');
- writeln('(703) 759-3838');
- writeln;
- writeln('Press ''Enter'' to quit.');
- readln;
- end.