MY QUiCKBASiC LiBRARY


After trying a plenty of way to improve the performance of my QuickBASIC programs, I found that Quick Library (.QLB) maybe is the better solution.


How To Use Quick Library (.QLB)

While entering QuickBASIC, key in the following command:-

    QB /L <Quick Lirary Name>

For example, if you want to use my library, key in the following command at DOS prompt:-

    C:\QB>QB /L LAWRENCE

File extension (.QLB) can be omitted.

In the program which uses Quick Library, include the following line at the beginning:-

    '$INCLUDE:'<Header file>'

For example, you are using my library, the command should be:-

    '$INCLUDE:'LAWRENCE.BI'

LAWRENCE.BI is the header file that declare all the functions and subs in my library. Please read this file to learn how to use the functions and subs.


I have written a series of programs to simplified the program. The functions and subs in this library are divided into two part:-

    Part I -- To simulate some functions and procedures provided by CLIPPER.

    Part II -- Some functions and subs for mouse controlling.

Now you can download it for your program.


Functions & Subroutines list


PART I
FUNCTIONS
Insert% Test if insert mode is on.
Menu% Return the number of choice the user selected.
Menuscroll% Return the choice of the user (in scroll menu).
Savescreen$ Save screen into a string.
Screenbufferseg! Return the current screen buffer segment.
SUBS
Clearscreen Clear & fill screen area with certain color & character.
Getinput Get input in full screen edit mode.
Popup Popup a window that contains data in dat().
Restorescreen Restore the saved screen from saved screen data.
Scrolldown Scroll down the data in the window.
Scrollup Scroll up the data in the window.
Shadow Change the color in certain range for looking like shadow.


PART II
FUNCTIONS
MouseButtons% Returns the button status only.
MouseCursor% Returns button status, mouse row and column.
MouseInstalled% Check if mouse has been installed.
TextCursor% Returns button status, mouse row and column (in TEXT mode).
SUBS
HideMouse Hide the mouse cursor.
MouseColumns Defines left and right columns for mouse travel.
MouseReleased Wait for the mouse button to be released.
MouseRows Defines top and bottom rows for mouse travel.
SetMouseCursor Set mouse cursor to desired row and column.
ShowMouse Show the mouse cursor.


Download Now!


RETURN TO HOME


(Home) (About Lawrence) (QuickBASIC forum) (PASSWORD LOCK 1.0)


~ A sub page of Lawrence's Homepage ~
Last modified on Sunday, 20 October 1996 by
Lawrence Law, Spg Rengam, Johore, Malaysia