For registered this library use this command:

DATABASE Reglibrary,"name","key",1

DATABASE Reglibrary,"name user","key reg",1
or
 DATABASE Reglibrary,"name user","key reg",0

If in a line to utillize 1, a report will be displayed about the state of 
registration.
If in a line to utillize 0, the window of report will not be rotined.

It is necessary, when you will give the programs end users.
Always utillize registration information in the programs differently a library will leave off to work in 20 days.

This library will work without registration 20 days  after the first use.
After 20 days a library will leave off to work!

A reminder about registration will be displayed in 10 days after the first use.

A library contains commands and functions:

Edit style:
R - Read Only
D - Disable / Enable
P - Password char
C - Send change message
E - Send enter message
S - Set focus
A - Send escape message
T - Send tab message
Z - Edit data list

Date style:
T - Time format
L - Long date
O - Disable / Enable
S - Short format
C - Event change
U - Not work command (Auto destroy)

Graph style:
L - Show / Hide line
G - Show / Hide line
H - Show / Hide type text
T - Show / Hide text
S - Show / Hide Gorizontal text
V - Show / Hide Vertical text
B - Show / Hide graph


List of commands in-use in a library:

        {0,"ERRMSG",SetEnvCommand},
//////////DATABASE///////////////////////////
        {0,"DBOPEN",OpenBaseCommand},
        {0,"DBCLOSE",CloseBaseCommand},
        {0,"DBEXECUTESQL",ExecuteSQLCommand},
        {0,"DBBEGINTRANS",BeginTransactCommand},
        {0,"DBCOMMITTRANS",CommitTransactCommand},
        {0,"DBROLLBACKTRANS",RollbackTransactCommand},
        {0,"DBSETMEMOBUFSIZE",SetMemoSizeCommand},
//////////RECORDSET///////////////////////////
        {0,"RSETOPEN",OpenRecordsetCommand},
        {0,"RSETCLOSE",CloseRecordsetCommand},
        {0,"RSETMOVE",MoveRecordsetCommand},
        {0,"RSETMOVEFIRST",MoveFirstRecordsetCommand},
        {0,"RSETMOVELAST",MoveLastRecordsetCommand},
        {0,"RSETMOVENEXT",MoveNextRecordsetCommand},
        {0,"RSETMOVEPREV",MovePrevRecordsetCommand},
        {0,"RSETADDREC",AddRecordRecordsetCommand},
        {0,"RSETDELREC",DelRecordRecordsetCommand},
        {0,"RSETEDIT",EditRecordsetCommand},
        {0,"RSETUPDATE",UpdateRecordsetCommand},
        {0,"RSETCANCEL",CancelRecordsetCommand},
        {0,"RSETSETFIELDVALUE",SetFieldValueRecordsetCommand},
        {0,"RSETSETBOOKMARK",SetBookmarkRecordsetCommand},
//////////CRID CONTROL///////////////////////////
        {0,"GRIDCREATE",CreateGridControlCommand},
        {0,"GRIDDELETE",DeleteGridControlCommand},
        {0,"GRIDRESIZE",GridControlResizeCommand},
        {0,"GRIDSTYLE",GridControlStyleCommand},
        {0,"GRIDCOLOR",GridControlColorCommand},
        {0,"GRIDBIND",GridControlBindCommand},
        {0,"GRIDREBIND",GridControlReBindCommand},
        {0,"GRIDUNBIND",GridControlUnBindCommand},
        {0,"GRIDAUTOSIZE",GridControlAutosizeCommand},
        {0,"GRIDEXPANDCOLS",GridControlExpandColumnsCommand},
        {0,"GRIDCOLATTR",GridControlColumnAttrCommand},
        {0,"GRIDFONT",GridControlFontCommand},  
        {0,"GRIDADDROW",GridControlAddRowCommand},
        {0,"GRIDDELROW",GridControlDelRowCommand},
        {0,"GRIDCELLATTR",GridControlCellAttributeCommand},
        {0,"GRIDCELLDATA",GridControlCellDataCommand},
        {0,"GRIDCURCELL",GridControlSetCurCellCommand},
        {0,"GRIDROWHEIGHT",GridControlSetRowHeightCommand},
        {0,"GRIDCOLWIDTH",GridControlSetColumnWidthCommand},
        {0,"GRIDADDCOLOR",GridControlAddColorCommand},
        {0,"GRIDADDCOLORFIELD",GridControlAddColorFieldCommand},
        {0,"GRIDADDCMENUITEM",GridControlAddContextMenuItemCommand},
        {0,"GRIDSETCOLCHECKSTAT",GridControlSetColumnCheckStatus},
//////////Edit///////////////////////////////////////////
        {0,"EDITCREATE",CreateEditControlCommand},
        {0,"EDITDELETE",DeleteEditControlCommand},
        {0,"EDITSETTEXT",SetTextEditControlCommand},
        {0,"EDITSTYLE",SetStyleEditControlCommand},
        {0,"EDITFONT",SetFontEditControlCommand},
        {0,"EDITMASK",SetMaskEditControlCommand},
        {0,"EDITDATA",SetDataEditControlCommand},
        {0,"EDITSETFOCUS",SetFocusEditControlCommand},
        {0,"EDITADDLISTVALUE",AddListValueEditControlCommand},
//////////Graph///////////////////////////////////////////
        {0,"GRAPHCREATE",CreateGraphControlCommand},
        {0,"GRAPHDELETE",DeleteGraphControlCommand},
        {0,"GRAPHADD",AddGraphControlCommand},
        {0,"GRAPHDATA",SetDataGraphControlCommand},
        {0,"GRAPHSTYLE",SetStyleGraphControlCommand},
        {0,"GRAPHTEXTATTR",SetTextAttrGraphControlCommand},
        {0,"GRAPHGTEXT",SetGTextGraphControlCommand},
//////////Data///////////////////////////////////////////
        {0,"DATACREATE",CreateDataControlCommand},
        {0,"DATADELETE",DeleteDataControlCommand},
        {0,"DATASTYLE",SetStyleDataControlCommand},
//////////Other///////////////////////////////////////////
        {0,"CREATECOMPTABLE",CreateCompTableCommand},
        {0,"IMPORTTABLE",ImportTableCommand},
        {0,"CONFIGDSN",ConfigDSNCommand},
        {0,"CLEARALL",ClearAllCommand},
        {0,"REGLIBRARY",RegLibrary},

List of functions in-use in a library:

        {0,"GETERRORMSG",GetErrorMessageFunction},
        {0,"GETDBERRORMSG",GetDbErrorMessageFunction},
        {0,"GETINSTDRIVER",GetInstalledDriverFunction},
        {0,"REPLACESTRING",ReplaceStringFunction},
        {0,"REPLACESTRING1",ReplaceString1Function},
        {0,"FINDSTRING",FindStringFunction},    
        {0,"ENCRYPTSTRING",EncryptStringFunction},      
        {0,"DECRYPTSTRING",DecryptStringFunction},      
//////////DATABASE///////////////////////////
        {0,"DBISOPEN",IsOpenDatabaseFunction},
        {0,"DBGETNAME",GetDataBaseNameFunction},
        {0,"DBGETCONNECT",GetConnectionStringFunction},
        {0,"DBISCANUPDATE",IsCanUpdateFunction},
        {0,"DBISCANTRANSACT",IsCanTransactFunction},
        {0,"DBGETTABLES",GetTablesFunction},
        {0,"DBGETALLTABLES",GetAllTablesFunction},
        {0,"DBGETTABLETYPE",GetTableTypeFunction},
//////////RECORDSET///////////////////////////
        {0,"RSETISOPEN",IsOpenRecordsetFunction},
        {0,"RSETISEOF",IsEOFRecordsetFunction},
        {0,"RSETISBOF",IsBOFRecordsetFunction},
        {0,"RSETISBOF",IsEmptyRecordsetFunction},
        {0,"RSETGETFIELDCOUNT",GetRSetFieldCountFunction},
        {0,"RSETGETRECORDCOUNT",GetRSetRecordCountFunction},
        {0,"RSETGETTABLENAME",GetRSetTableNameFunction},
        {0,"RSETGETSQL",GetRSetSQLStringFunction},
        {0,"RSETGETFIELDNAME",GetRSetFieldNameFunction},
        {0,"RSETGETFIELDINDEX",GetRSetFieldIndexFunction},
        {0,"RSETGETFIELDTYPE",GetRSetFieldTypeFunction},
        {0,"RSETGETFIELDSIZE",GetRSetFieldSizeFunction},
        {0,"RSETGETFIELDVALUE",GetRSetFieldValueFunction},
        {0,"RSETGETRECORDVALUE",GetRSetRecordValueFunction},
        {0,"RSETGETBOOKMARK",GetRSetBookmarkFunction},
//////////CRID CONTROL///////////////////////////
        {0,"GRIDGETCURCOL",GetGridCurrentColFunction},
        {0,"GRIDGETCURROW",GetGridCurrentRowFunction},
        {0,"GRIDGETCELLDATA",GetGridCellDataFunction},
        {0,"GRIDGETSEL",GetGridSelectedFunction},
        {0,"GRIDGETCOLUMNCHECKSTATUS",GetGridColumnCheckStatusFunction},
//////////EDIT CONTROL///////////////////////////
        {0,"EDITGETTEXT",GetEditTextFunction},
        {0,"EDITGETDATA",GetEditDataFunction},
//////////DATA CONTROL///////////////////////////
        {0,"DATAGETYEAR",GetDataCtrlYearFunction},
        {0,"DATAGETMONTH",GetDataCtrlMonthFunction},
        {0,"DATAGETDAY",GetDataCtrlDayFunction},
        {0,"DATAGETHOUR",GetDataCtrlHourFunction},
        {0,"DATAGETMINUTE",GetDataCtrlMinuteFunction},
        {0,"DATAGETSECOND",GetDataCtrlSecondFunction},

Parameter for grid:
Upper char ENABLE, Lower char DISABLE

B - // Enable header click event
K - // Enable left column click event
J - // Enable mouse double click event
D - // Enable select change event
N - // Enable event edit cell
A - // Show grid control or Hide grid control
Q - // Disable Explore Record Set
U - // Enable up header options
P - // Enable left header options (Add left Fixed Col or Delete)
E - // Allow editing options (Read only cell)
M - // List Mode options (Set list mode)
Y - // Single row selections options
X - // Single column selections options
C - // Enable selections options
W - // Fixed row selections options
L - // Fixed column selections options
S - // Allow row resize options (Resize Enable or Disable)
Z - // Allow coloumn resize options (Resize Enable or Disable)
T - // Track focus cell options
F - // Frame focus cell options
I - // Autosize fixed header options
G - // Disable title tip
O - // Disable grid
R - // Show or Hide Check box in header grid
V - // Show lines options vertical
H - // Show lines options horizontal

Functions can return values, commands can not return a value.

If you have any questions on the use of library, ask.
If you found out errors, will report.

A copyright for development of library belongs MIDISA Soft. 

