home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
library
/
clipper
/
window
/
tsdwin
/
tswinqrf.doc
< prev
next >
Wrap
Text File
|
1992-08-30
|
55KB
|
876 lines
Page 1 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
*NOTE - Functions beginning with 'ntw' or 'nTSD' duplicate the
behaviour of the functions beginning with 'tw' or 'TSD'
except for the 'Excluded' Mouse Support and are linked
when compiling with '/dNOMOUSE' and #include "tsdwin.ch".
- Functions designated (R) are replacements for Clipper
functions and may call the associated Clipper function.
GetActive( oGet ) ............................................ GETSYS02
GetApplyKey( oGet, nKey ) .................................... GETSYS02
GetDoSetKey( bKeyBlock, oGet ) ............................... GETSYS02
GetPostValidate( oGet ) ...................................... GETSYS02
GetPreValidate( oGet ) ....................................... GETSYS02
GetReader( oGet ) ............................................ GETSYS02
nTSDMemoEdit( cMemo, nTop1, nLeft1, nBottom1, nRight1,;
lEditmode, cUserfunction, nLineLength,;
nTabSize, nTextBufRow, nTextBufCol,;
nWindowRow, nWindowCol ) ....................... MEMOEDIT(R)
ntwABBarDisp() ............................................... Display Bars
ntwABBrowse( wT, wL, wB, wR, aInRa, cTitle, aColHead,;
aFooters, lEditFlag, aActionKeys, wColor,;
wSType, wFType, wFColor, lScBar, lAlite,;
nFreeze, lStabilize, bPreRun, bPostRun,; Non-Moused
nExitKey, lBarOn, lWindow ) ..................... Array Browse
ntwABGetBrowse() ............................................. Browse Object
ntwACChoice( nTop, nLeft, nBottom, nRight, aChoices,;
aLogicals, cUser, nStartItem, nWinRow,;
lScBar, nTag, cACColor, cBarColor,; Non-Moused
bPreRun, bPostRun ) ............................. ACHOICE()
ntwAlertInit( Type, mColor ) ................................. Alert Initialize
ntwAMClose() ................................................. Close Area Class
ntwAMPop() ................................................... Pop Area Message
ntwAMsgEnd() ................................................. End Area Message
ntwAMsgInit( Type, mColor, aArea ) ........................... Initialize
ntwArBrowse( wT, wL, wB, wR, aInRa , cTitle, aColHead,;
Footers, lEditFlag, aActionKeys, wColor,;
sType, fType, wfColor, lAlite, nFreeze ) ........ Array Browse
ntwARPick( aArray, cHeader, nTop, nLeft, wColor,;
wSType, wFType, wFColor, nRestrict,;
nTag, lSound ) .................................... Array Picklist
ntwBackUp( cPath, cSourceSpec, cDest, lMsgs, wColor,;
wStype, wFtype, wFcolor, cBColor, cBFcolor ) ...... Backup Files
ntwBRBrowse( wT, wL, wB, wR, aColumns, cTitle, cTopKey,;
bScopeBlock, lEditFlag, aActionKeys,;
wColor, wSType, wFType, wFColor, lScBar,;
lMsgs, lAlite, nFreeze, lStabilize, bPreRun,;
bPostRun, nExitKey, aSeparators, lOKAppend,; Non-Moused
lSound, lWindow, bBarColor, aSrch ) ............. DBF Browse
ntwBRGetBrowse() ............................................. Browse Object
ntwBRNewSearch( aNewSrch, lReset ) ........................... New Search Array
ntwButtonBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, wSType, wFType,;
aExitKey, ActionKeys, bPreRun, bPostRun ) ...... PushButton Box
ntwCalcInit( nT, nL, cColor, cStype, cFtype, lOKPaste ) ...... Initialize
ntwCallCalc( cProc, nLine, cVar ) ............................ Call Calculator
Page 1 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
ntwCheckBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, wSType, wFType,;
aExitKey, ActionKeys, bPreRun, bPostRun ) ....... Multiple Choice
ntwDBPick( cAlias, cField, cColHead, nTop, nLeft, wColor,;
wSType, wFType, wFColor, bReturn, lSound,;
bBarColor, aSrch ) ................................ DBF Picklist
ntwDBrowse( wT, wL, wB, wR, aColumns, cTitle, Footers,;
bTopBlock, bBotBlock, bScopeBlock, lEditFlag,;
aActionKeys, wColor, wsType, wfType, wfColor,;
lScBar, lMsgs, lAlite, nFreeze, lStabilize ) ..... DBF Browse
ntwGetABrowse() .............................................. twArBrowse Ref.
ntwGetCurElem() .............................................. twArBrowse Ref.
ntwGetDBrowse() .............................................. twDBrowse Ref.
ntwIndexMaker( aNtxArray, wT, wL, wB, wR, wColor, wsType,;
wfType, cHeader, agColor, lMsgs,;
nBarFrame, bPreRun ) .......................... Index Files
ntwInfo( InMsg, Header, Wait, wT, wL, sType, fType ) ......... Windowed Message
ntwInfoLine( Wait, InMsg, cJustify, nLine ) .................. Line Message
ntwInquire( InMsg, Header, Var2Read, wT, wL, sType,;
fType, cPicture ) ................................ Windowed Get
ntwIsDrive( nDrive, wStype, wFtype ) ......................... Drive Status
ntwLineMenu( nRow, nStartCol, nEndCol, aChoices, nChoice,;
wColor, nExitKey, lFreeze, lSound, bPrerun,;
bPostrun, lWindow, wSType, wFType, wFColor ) .... Bar Menu
ntwMemoEdit( wT, wL, wB, wR, cMemo, cTitle, cFooters,;
mUdf, ActionKeys, wColor, wSType, wFType,;
wFColor, lMsgs, lWrap, lEditMode, nLineLength,;
nTabSize, nTBufRow, nTBufColumn, nWinRow,;
nWinColumn, lScBar, lWindow ) ................... Windowed MemoEdit
ntwMemoUdf( nMode, nLine, nColumn ) .......................... Memoedit UDF
ntwMemoView( wT, wL, wB, wR, cMemo, cTitle, cFooters,;
wColor, wSType, wFType, wFColor, lWindow ) ...... View Memostring
ntwMenuGetElem() ............................................. Current Element
ntwMenuInit( nMsgType, nRow, nCol, cColor, lHRetain ) ........ Initialize Menus
ntwMenuSetClr( cColor ) ...................................... Set Menu Colours
ntwMenuTo( bVarblock, cVarName, aMenu ) ...................... MENU TO (R)
ntwMPop() .................................................... Pop Messages
ntwMsgEnd() .................................................. End Messages
ntwMsgInit( Type, mColor ) ................................... Init. Messages
ntwPopChoice( aChoices, cHeader, wT, wL, nChoice, wColor,;
wsType, wfType, wFColor, cJustify, cUser,;
nStartRow, lSbar, bPreRun, bPostRun ) .......... Windowed ACHOICE
ntwPopMenu( amArray, cHeader, aMsg, wT, wL, nChoice,;
wColor, wsType, wfType, wFColor, wTColor,;
nRowSkip ) ....................................... Windowed MENU
ntwPrReady( cDevice, cMessage, cHeader, wT, wL, wSType,;
wFType ) ......................................... Device Status
ntwRABarDisp() ............................................... Display Bars
ntwRABrowse( wT, wL, wB, wR, aInArray, aColumns, cTitle,;
lEditFlag, aActionKeys, wColor, wSType,;
wFType, wFColor, lScBar, lAlite, nFreeze,;
lStabilize, bPreRun, bPostRun, nExitKey,;
lBarOn, aSeparators, aAppend, lSound,; Non-Moused
lWindow, bBarColor ) ............................ Array Browse
Page 3 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
ntwRadioBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, wSType, wFType,;
aExitKey, ActionKeys, bPreRun, bPostRun ) ....... Single Choice
ntwRAGetArray() .............................................. Array Reference
ntwRAGetBrowse() ............................................. Browse Object
ntwRAGetCurrent() ............................................ Current Element
ntwRAGetElement( n ) ......................................... Current Value
ntwRASetArray( aInArray ) .................................... Replace Array
ntwTextFile( wT, wL, wB, wR, fName, wColor, wShadow,;
wFtype, wFcolor, wTitle, bPreRun ) .............. View a Text File
ntwTextMsg( InMsg, Header, Wait, wT, wL, wB, wR,;
wColor, sType, fType ) ........................... Memo Display
ntwWarn( InMsg, Header, Wait, wT, wL, sType, fType ) ......... Windowed Message
ntwWarnLine( Wait, InMsg, cJustify, nLine ) .................. Line Message
RangeCheck( oGet, junk, lo, hi ) ............................. GETSYS02
ReadExit( lNew ) ............................................. GETSYS02
ReadFormat( b ) .............................................. GETSYS02
ReadInsert( lNew ) ........................................... GETSYS02
ReadKill( kill ) ............................................. GETSYS02
ReadModal( GetList ) ......................................... GETSYS02
ReadUpdated( newUpdated ) .................................... GETSYS02
twABBarDisp() ................................................ Display Bars
twABBrowse( wT, wL, wB, wR, aInRa, cTitle, aColHead,;
aFooters, lEditFlag, aActionKeys, wColor,;
wSType, wFType, wFColor, lScBar, lAlite,;
nFreeze, lStabilize, bPreRun, bPostRun,; Moused
nExitKey, lBarOn, lWindow ) ...................... Array Browse
twABGetBrowse() .............................................. Browse Object
twABHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ............ Mouse Spot
twABLineOff( aHandles ) ...................................... Disable Mouse Line
twABLineOn( aHandles ) ....................................... Enable Mouse Line
twABLinePop( aHandles ) ...................................... Pop Mouse Line
twABMouseLine( aArray, nSpace, nButton, nRow ) ............... Hot Spot Line
twABRemHotSpot( nSpotNo ) .................................... Remove Spot
twABSpotOff( nSpotNo ) ....................................... Disable Spot
twABSpotOn( nSpotNo ) ........................................ Enable Spot
twACChoice( nTop, nLeft, nBottom, nRight, aChoices,;
aLogicals, cUser, nStartItem, nWinRow, lScBar,;
nTag, cACColor, cBarColor, bPreRun, bPostRun ) ... Moused ACHOICE
twACHotSpot( nTopRow, nLeftCol, nBotRow, nRightCol,;
bAction, nButton, nSleep, lRelease ) ............ Mouse Spot
twACLineOff( aHandles ) ...................................... Disable Mouse Line
twACLineOn( aHandles ) ....................................... Enable Mouse Line
twACLinePop( aHandles ) ...................................... Pop Mouse Line
twACMouseLine( aArray, nSpace, nButton, nRow ) ............... Hot Spot Line
twACRemHotSpot( nSpotNo ) .................................... Remove Spot
twACSpotOff( nSpotNo ) ....................................... Disable Spot
twACSpotOn( nSpotNo ) ........................................ Enable Spot
twActivate( nHandle ) ........................................ Activate Window
twAddGlobal( xInGlobal ) ..................................... Add Global Var
twAeMaxLen( aArray, nDimension, nStart, nCount ) ............. Maximum Array Elem.
twAlertInit( Type, mColor ) .................................. Alert Initialize
twAMClose() .................................................. Close Area Class
Page 4 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twAMPop() .................................................... Pop Area Message
twAMsgEnd() .................................................. End Area Message
twAMsgInit( Type, mColor, aArea ) ............................ Initialize
twArBrowse( wT, wL, wB, wR, aInRa , cTitle, aColHead,;
Footers, lEditFlag, aActionKeys, wColor,;
sType, fType, wfColor, lAlite, nFreeze ) ......... Array Browse
twArComp( aArray, bComp, nStart, nStop ) ..................... Array Compare
twARPick( aArray, cHeader, nTop, nLeft, wColor, wSType,;
wFType, wFColor, nRestrict, nTag, lSound ) ......... Array Picklist
twArrayAsList( aArray, cDelimiter ) .......................... Array to List
twASay( aStrings, nRow, nCol, cAttr, nRowSkip,;
nHandle, lToScreen ) ................................. Display Array
twAttrib( wBorder, wColor, wT, wL, wB, wR,;
nHandle, lToScreen ) ............................... Change Attribute
twBackUp( cPath, cSourceSpec, cDest, lMsgs, wColor,;
wStype, wFtype, wFcolor, cBColor, cBFcolor ) ....... Backup Files
twBlankScrn( cBlankStr, wColor, nTime, lClear , bBlock ) ..... Screen Blanker
twBox( wT, wL, wB, wR, bType, wColor, wFill, lAbs,;
nShadow, nHandle, lToScreen ) ......................... Display Box
twBRBarDisp() ................................................ Display Bars
twBRBrowse( wT, wL, wB, wR, aColumns, cTitle, cTopKey,;
bScopeBlock, lEditFlag, aActionKeys, wColor,;
wSType, wFType, wFColor, lScBar, lMsgs,;
lAlite, nFreeze, lStabilize, bPreRun, bPostRun,;
nExitKey, aSeparators, lOKAppend, lSound,; Moused
lWindow, bBarColor, aSrch ) ...................... DBF Browse
twBRGetBrowse() .............................................. Browse Object
twBRHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ............ Mouse Spot
twBRLineOff( aHandles ) ...................................... Disable Mouse Line
twBRLineOn( aHandles ) ....................................... Enable Mouse Line
twBRLinePop( aHandles ) ...................................... Pop Mouse Line
twBRMouseLine( aArray, nSpace, nButton, nRow ) ............... Hot Spot Line
twBRNewSearch( aNewSrch, lReset ) ............................ New Search Array
twBRRemHotSpot( nSpotNo ) .................................... Remove Spot
twBRSpotOff( nSpotNo ) ....................................... Disable Spot
twBRSpotOn( nSpotNo ) ........................................ Enable Spot
twButtonBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, wSType, wFType,;
aExitKey, ActionKeys, bPreRun, bPostRun ) ....... PushButton Box
twCalcInit( nT, nL, cColor, cStype, cFtype, lOKPaste ) ....... Initialize
twCalculator( nT, nL, cColor, nwStype, nwFtype, cFColor,;
lOKPaste ) ..................................... Calculator
twCalendar( dDate, nT, nL, cColor, nwStype, nwFtype,;
cFColor, lOKPaste ) .............................. Calendar
twCallCalc( cProc, nLine, cVar ) ............................. Call Calculator
twCallDate( cProc, nLine, cVar ) ............................. Call Calendar
twCenter( nRow, xInValue, cAttr, _wPicture, nHandle,;
lYesNo, lToScreen ) ................................ Center String
twCentre( nRow, xInValue, cAttr, _wPicture, nHandle,;
lYesNo, lToScreen ) ................................ Center String
twCheckBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, wSType, wFType,;
aExitKey, ActionKeys, bPreRun, bPostRun ) ........ Multiple Choice
Page 5 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twClear( wBorder, wFill, wT, wL, wB, wR,;
nHandle, lToScreen ) ................................ Clear Region
twClearLine( nRow, wBorder, cAttr, nHandle, lToScreen ) ...... Clear Line
twClearWith( lBorder, cPattern, wT, wL, wB, wR, cAttr ) ...... Clear w/Pattern
twClockOff() ................................................. Turn off clock
twClockOn( wT, wL, wColor, lAbsolute ) ....................... Turn on clock
twClose( nHandle ) ........................................... Close Window
twCol( nCol ) ................................................ Window Column
twConvert( xToCnvrt, cCnvrtTo, lYesNo ) ...................... Data Convert
twCreateButton( wT, wL, cButton, lPad, wColor, wStype ) ...... Shadowed Button
twDate( wT, wL, wColor, lAbsolute ) .......................... Display Date
twDateInit( nT, nL, cColor, cStype, cFtype,;
cFColor, lOKPaste ) .............................. Initialize
twDBPick( cAlias, cField, cColHead, nTop, nLeft, wColor,;
wSType, wFType, wFColor, bReturn, lSound, aSrch ) .. DBF Picklist
twDBrowse( wT, wL, wB, wR, aColumns, cTitle, Footers,;
bTopBlock, bBotBlock, bScopeBlock, lEditFlag,;
aActionKeys, wColor, wsType, wfType, wfColor,;
lScBar, lMsgs, lAlite, nFreeze, lStabilize ) ...... DBF Browse
twDec2Sci( nDecimal, nPrecision, nLength ) ................... Scient. Notation
twDelGlobal( nHndl ) ......................................... Remove Global Var.
twDirectory( cSpec, cAttributes ) ............................ DIRECTORY(R)
twDisplay( nHandle ) ......................................... ReDisplay Window
twEnhClr( InColor ) .......................................... Clipper Enhanced
twExplode( lOKExplode ) ...................................... Explode Toggle
twFileName( cFile ) .......................................... File Name String
twFilePop( nHndl ) ........................................... Pop File Info
twFileStack( nArea, nSelect ) ................................ Push File Info
twFrame( wFtype, wfColor, nHandle, lTitles ) ................. Display Frame
twGaugeDisplay( aHandle ) .................................... Display Gauge Bar
twGaugeNew( wT, wL, wB, wR, cBackClr, cBarClr,;
cBarCharacter, wfType ) .......................... New Gauge Bar
twGaugeUpdate( aHandle, nPercent ) ........................... Update Gauge Bar
twGet( nRow, nCol, _wGetBlk, _wGetName, GetList,;
_wGpicture, _wGcolor, wWhenBlk, wValidBlk ) ........... Windowed Get
twGetABrowse() ............................................... twArBrowse Ref.
twGetApplyKey( oGet, nKey, nMouseCol ) ....................... TSDGET Reader
twGetCurElem() ............................................... twArBrowse Ref.
twGetCurValue( xValue ) ...................................... Current Get Buffer
twGetDBrowse() ............................................... twDBrowse Ref.
twGetGlobal( nHndl ) ......................................... Return Global Var.
twGetReader( aGetList, nPos, lMouseExit ) .................... TSDGet Reader
twGetStruct( sT, sL, sB, sR, wT, wL, wB, wR, tShadow,;
tScr, uScr, tlength, twidth, tThick, sh13,;
sh17, sh79, sh39 ) .............................. Window Structure
twGetWin( nHandle ) .......................................... Stack Position
twHide( nHandle ) ............................................ Hide a Window
twHLine( nRow, nCol, Length, lType, wColor,;
nHandle, lToScreen ) ................................ Horizontal Line
twIndexMaker( aNtxArray, wT, wL, wB, wR, wColor, wsType,;
wfType, cHeader, agColor, lMsgs,;
nBarFrame, bPreRun ) ........................... Index Files
twInfo( InMsg, Header, Wait, wT, wL, sType, fType ) .......... Windowed Message
twInfoLine( Wait, InMsg, cJustify, nLine ) ................... Line Message
Page 6 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twInit( Thickness ) .......................................... Init. Windows
twInitGlobal( aInGlobal ) .................................... Init. Globals
twInkeyWait( nSecs ) ......................................... Wait w/SETKEY
twInquire( InMsg, Header, Var2Read, wT, wL, sType,;
fType, cPicture ) ................................. Windowed Get
twIsDrive( nDrive, wStype, wFtype ) .......................... Drive Status
twKeyPop( nHndl ) ............................................ Pop SetKeys
twKeyStack( aKeys ) .......................................... Push SetKeys
twLdate( dDate ) ............................................. Long Date Expr.
twLeft( nRow, xInValue, cAttr, _wPicture, nHandle,;
lYesNo, lToScreen ) .................................. Left Justify
twLineMenu( nRow, nStartCol, nEndCol, aChoices, nChoice,;
wColor, nExitKey, lFreeze, lSound, bPrerun,;
bPostrun, lWindow, wSType, wFType, wFColor ) ..... Bar Menu
twLineShad( bRows, bCols, Buttons, tShadow ) ................. Thin Shadow
twListAsArray( cList, cDelimiter ) ........................... List to Array
twMakeShadowArea( sT, sL, sB, sR, sType ) .................... Display Shadow
twMemoEdit( wT, wL, wB, wR, cMemo, cTitle, cFooters,;
mUdf, ActionKeys, wColor, wSType, wFType,;
wFColor, lMsgs, lWrap, lEditMode, nLineLength,;
nTabSize, nTBufRow, nTBufColumn, nWinRow,;
nWinColumn, lScBar, lWindow ) .................... Windowed MemoEdit
twMEHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ............ Mouse Hot Spot
twMELineOff( aHandles ) ...................................... Disable Mouse Line
twMELineOn( aHandles ) ....................................... Enable Mouse Line
twMELinePop( aHandles ) ...................................... Pop Mouse Line
twMEMouseLine( aArray, nSpace, nButton, nRow ) ............... Hot Spot Line
twMERemHotSpot( nSpotNo ) .................................... Delete Hot Spot
twMESpotOff( nSpotNo ) ....................................... Disable Hot Spot
twMESpotOn( nSpotNo ) ........................................ Enable Hot Spot
twMemoView( wT, wL, wB, wR, cMemo, cTitle, cFooters,;
wColor, wSType, wFType, wFColor, lWindow ) ....... View Memo String
twMenuTo( bVarblock, cVarName, aMenu ) ....................... MENU TO (R)
twMenuGetElem() .............................................. Current Element
twMenuInit( nMsgType, nRow, nCol, cColor, lHRetain ) ......... Initialize Menus
twMenuSetClr( cColor ) ....................................... Set Menu Colours
twMInkeyWait( nSecs, lKeyExit, lMouseExit ) .................. Moused INKEY()
twMIHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nMouseKey, nSleep, lRelease ) .......... Inkey Hot Spot
twMILineOff( aHandles ) ...................................... Disable Mouse Line
twMILineOn( aHandles ) ....................................... Enable Mouse Line
twMILinePop( aHandles ) ...................................... Pop Mouse Line
twMIMouseLine( aArray, nSpace, nButton, nRow ) ............... Hot Spot Line
twMIRemHotSpot( nSpotNo ) .................................... Remove Hot Spot
twMISpotOff( nSpotNo ) ....................................... Disable Hot Spot
twMISpotOn( nSpotNo ) ........................................ Enable Hot Spot
twMove( Vert, Horz, nHandle ) ................................ Move Window
twMPause( nSeconds, nStart ) ................................. Wait
twMPop() ..................................................... Pop Message
twMsgEnd() ................................................... End Message
twMsgInit( Type, mColor ) .................................... Init. Messages
twNew( wT, wL, wB, wR, wColor, wShadow, wFtype,;
wFill, wFcolor, wTitle ) .............................. Create Window
Page 7 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twNoOccurs( cSearch, cSource, lCase ) ........................ # of Occurrences
twNthOccur( cSource, cTarget, nWhich, lCase ) ................ Nth Occurrence
twNum2Str( nValue, nMantLen, nDecLen ) ....................... Number to String
twOpen( wT, wL, wB, wR, wColor, wShadow, wFtype,;
wFill, wFcolor, wTitle ) ............................. Create/Show Window
twPause( nTime ) ............................................. Time Out
twPop( lRetain ) ........................................... Pop Window
twPopAreas( nHndl ) .......................................... Pop Work Areas
twPopChoice( aChoices, cHeader, wT, wL, nChoice, wColor,;
wsType, wfType, wFColor, cJustify, cUser,;
nStartRow, lSbar, bPreRun, bPostRun ) ........... Windowed ACHOICE
twPopMenu( amArray, cHeader, aMsg, wT, wL, nChoice,;
wColor, wsType, wfType, wFColor,;
wTColor, nRowSkip ) ............................... Windowed Menu
twPrompt( nRow, nCol, _wPrompt, _wMessage ) .................. CLIPPER PROMPT
twProper( nStrLen ) .......................................... Propercase Valid
twProperCase( cInString ) .................................... Propercase String
twPrReady( cDevice, cMessage, cHeader, wT, wL,;
wSType, wFType ) .................................. Device Status
twPutTitles( aTitle, nHandle ) ............................... Display Titles
twQDBrowse( wT, wL, wB, wR, aColumns, xTitle, wColor,;
wsType, wfType, wfColor, nFreeze, aSrch,;
lAlite, bPreRun, bPostRun, bBarColor ) ........... Quick DBF Browser
twRABarDisp() ................................................ Display Bars
twRABrowse( wT, wL, wB, wR, aInArray, aColumns, cTitle,;
lEditFlag, aActionKeys, wColor, wSType,;
wFType, wFColor, lScBar, lAlite, nFreeze,;
lStabilize, bPreRun, bPostRun, nExitKey,;
lBarOn, aSeparators, aAppend, lSound,; Moused
lWindow, bBarColor ) ............................. Array Browse
twRAGetArray() ............................................... Array Reference
twRAGetBrowse() .............................................. Browse Object
twRAGetCurrent() ............................................. Current Element
twRAGetElement( n ) .......................................... Current Value
twRAHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ............ Mouse Spot
twRALineOff( aHandles ) ...................................... Disable Mouse Line
twRALineOn( aHandles ) ....................................... Enable Mouse Line
twRALinePop( aHandles ) ...................................... Pop Mouse Line
twRAMouseLine( aArray, nSpace, nButton, nRow ) ............... Hot Spot Line
twRadioBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, wSType, wFType,;
aExitKey, ActionKeys, bPreRun, bPostRun ) ........ Single Choice
twRARemHotSpot( nSpotNo ) .................................... Remove Hot Spot
twRASetArray( aInArray ) ..................................... Replace Array
twRASpotOff( nSpotNo ) ....................................... Disable Hot Spot
twRASpotOn( nSpotNo ) ........................................ Enable Hot Spot
twRandom( nMax ) ............................................. Random Number
twReadModal( aGetList, lMouseExit ) .......................... Moused Read
twREHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ............ Mouse Hot Spot
twRELineOff( aHandles ) ...................................... Disable Mouse Line
twRELineOn( aHandles ) ....................................... Enable Mouse Line
twRELinePop( aHandles ) ...................................... Pop Mouse Line
Page 8 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twREMouseLine( aArray, nSpace, nButton, nRow ) ............... Hot Spot Line
twRERemHotSpot( nSpotNo ) .................................... Remove Hot Spot
twRESpotOff( nSpotNo ) ....................................... Disable Hot Spot
twRESpotOn( nSpotNo ) ........................................ Enable Hot Spot
twReplicate( nRow, nCol, Char, Number, wColor,;
nHandle, lToScreen ) ............................ REPLICATE(R)
twRestore() .................................................. Not Available
twRestoreShadowArea( tShadow ) ............................... Restore Shadow
twRestScrEnv() ............................................... Restore Environment
twRevClr( InColor ) .......................................... Reverse Colour
twRight( nRow, xInValue, cAttr, _wPicture, nHandle,;
lYesNo, lToScreen ) ................................. Right Justify
twRow( nRow ) ................................................ Window Row
twSattr( attribute ) ......................................... Number to Colour
twSave( nHandle ) ............................................ Save Window
twSaveAreas( aAreas ) ........................................ Save Work Areas
twSaveScrEnv() ............................................... Save Environment
twSay( nRow, nCol, xInValue, cAttr, _wPicture,;
nHandle, lYesNo, lToScreen ) .......................... Display String
twSay2( nRow, nCol, cString, cAttr, nHandle, lToScreen ) ..... Display 2 Colour
twSayGet( nRow, nCol, cString, _wSpicture, _wScolor,;
_wGetBlk, _wGetName, GetList, _wGpicture,;
_wGcolor, wWhenBlk, wValidBlk ) .................... @...Say...Get
twScBarMove( aScrollBar, sTop, sLeft, sBottom, sRight ) ...... Move Scroll Barr
twScBarNew( nTopRow, nTopColumn, nEndRowCol, cColorString,;
nInitPosition, nDirection ) ...................... New Scroll Bar
twScBarShow( aScrollBar ) .................................... Display Scroll Bar
twScBarUpdate( aScrollBar, nCurrent, nTotal, lForceUpdate ) .. Update Scroll Bar
twSci2Dec( cScientific ) ..................................... Scient. Notation
twScroll( nLines, wBorder, wT, wL, wB, wR, wColor,;
nHandle, lToScreen ) ............................... Scroll Region
twSeed( nNum ) ............................................... Random Seed
twSetCursor( lOn ) ........................................... Set Cursor Status
twSetGlobal( nHndl, xInGlobal ) .............................. Set Global Var.
twSetStruct( wT, wL, wB, wR, sT, sL, sB, sR, uScr ) .......... Window Structure
twShadow( wT, wL, wB, wR, wStype, lAbs ) ..................... Shadow a Region
twShow( nHandle ) ............................................ Show a Window
twShowShadowArea( sT, sL, sB, sR, tShadow,;
vShadow, hShadow ) ......................... Display a Shadow
twSize( Direction, sNumber, SaveORide, lContinous ) .......... Size a Window
twSlide( Direction, sNumber, lShadow ) ....................... Slide a Window
twSpaceText( Texts, wL, wR ) ................................. Space Strings
twSplitClr( InColor ) ........................................ Get Colour Array
twSplitTxt( InString, LineLen, MaxLines ) .................... MEMOLINE a String
twSSaveAsc() ................................................. Save to ASCII
twSSaveMem() ................................................. Save to .MEM
twStdClr( InColor ) .......................................... Standard Colour
twStopWatch( nStart, nStop ) ................................. Stop Watch
twStoreShadowArea( sT, sL, sB, sR, tShadow,;
vShadow, hShadow ) ........................ Store Info Under
twStr2Num( cValue ) .......................................... String to Number
twStr2Scr( _string, wAttribute ) ............................. String to Screen
twStrCenter( wL, wR, cString ) ............................... Center Coords.
Page 9 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twStrSlide( cDirection, nRow, nCol, cString,;
wColor, nDelay ) ................................. Slide a String
twSumArray( aArray, nStartIndex, nEndIndex ) ................. Sum an Array
twTextFile( wT, wL, wB, wR, fName, wColor, wShadow,;
wFtype, wFcolor, wTitle, bPreRun ) ............... View a Text File
twTextMsg( InMsg, Header, Wait, wT, wL, wB, wR,;
wColor, sType, fType ) ............................ Memo Display
twTitle( cString, wColor, _Row, _Justify, _Delim, nHandle ) .. Title a Window
twType( nRow, nCol, cString, cAttr, Sound ) .................. Type a String
twUnHide( nHandle ) .......................................... Un-Hide a Window
twUnsClr( InColor ) .......................................... Unselected Colour
twVattr( WColor ) ............................................ Colour to Number
twVersion() .................................................. TSDWIN Version
twVLine( nRow, nCol, Length, lType, wColor,;
nHandle, lToScreen ) ................................ Vertical Line
twWarn( InMsg, Header, Wait, wT, wL, sType, fType ) .......... Windowed Message
twWarnLine( Wait, InMsg, cJustify, nLine ) ................... Line Message
twWorm( aInWorm, nWait, bBlock, nMinTop, nMinLeft,;
nMaxBot, nMaxRight ) ................................. Screen Blanker
twWSaveAsc() ................................................. Save to ASCII
twWSaveMem() ................................................. Save to .MEM
Updated() .................................................... GETSYS02
__KillRead() ................................................. GETSYS02
__SetFormat( b ) ............................................. GETSYS02
** Clipper Callable Low-Level Function **
tw_ASay( wT, wL, aray, attr1, attr2 ) ........................ Display Array
tw_BAttr( cScr, nW, nX, nY, nXx, nYy, nAttr ) ................ Buffer Attrib.
tw_BChr( cScr, nW, nX, nY, nCh, nAttr ) ...................... Buffer Write
tw_BClear( cScr, nW, nX, nY, nXx, nYy, nAttr, nFill ) ........ Buffer Clear
tw_Box( cScr, nW, nX, nY, nXx, nYy, cFr, nAttr ) ............. Buffer Box
tw_BSay( cScr, nW, nX, nY, cStr, nAttr ) ..................... Buffer Say
tw_BSayA( cScr, nW, nX, nY,;
aStrings, cStr, nAttr1, nAttr2 ) ................... Buffer Array Say
tw_BScroll( cScr, nW, nX, nY, nXx, nYy, nDir, nAttr ) ........ Buffer Scroll
tw_GetKSt( nKey ) ............................................ Get Key Status
tw_MdDial( cNumber ) ......................................... Dial the Modem
tw_MdInit( nBaud ) ........................................... Initialize Modem
tw_MdPort( nPort ) ........................................... Init. COM Port
tw_MdSt() .................................................... Modem Status
tw_MdStr( cString ) .......................................... Send Modem String
tw_MPrompt( nTp, nLt, cScr, nAttr1, nAttr2,;
nShtype, nAttr3 ) ................................ 2 Colour String
tw_NtxPos( nOrder, nRecno ) .................................. Find index offset
tw_NtxRec( nOrder, nPosition ) ............................... Find index record
tw_Say( wT, wL, strg, pattr ) ................................ Display String
tw_Say2( wT, wL, strg, attr1, attr2 ) ........................ Display 2 Colours
tw_Scr2Str( cScreen ) ........................................ Screen to String
tw_ScrApp( scrpos, scr1, scr2, leng, wid ) ................... Line Append
tw_ScrDel( scrpos, scr1, leng, wid ) ......................... Line Delete
tw_ScrXtr( scr, tp, lt, bm, rt, tN, lN, leng, wid ) .......... Region Extract
tw_SetKSt( nKey, nStatus ) ................................... Set Key Status
tw_Shadow( cScr, nW, nX, nY, nXx, nYy, nStype, nSthick ) ..... Buffer Shadow
Page 10 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
tw_TFile( fHndl, tp, lt, bt, rt, j, norm ) ................... Display Text File
tw_VAttr( wT, wL, wB, wR, pattr ) ............................ Display Colour
_twAttrChg( expC, expN ) ..................................... Change Colour
_twClock( mode, row, col, attr ) ............................. Display a Clock
_twExplode( nA, nB, nC, nD, nE, cF, nG, nH,;
nI, nJ, nK, nL, nM, nN ) ......................... Explode a Region
_twIsDev( cDevice ) .......................................... Device Status
_twIsDrive( n ) .............................................. Drive Status
_twKBoard( n ) ............................................... Stuff Keyboard
_tw_Shadow( nTop, nLeft, nBottom, nRight,;
nSType, nSThick ) ................................ Display a Shadow
** Direct Calls to the Mouse Driver **
_twM0A() .................. Reset Mouse
_twM1() ................... Show Mouse Cursor
_twM2() ................... Hide Mouse Cursor
_twM3B() .................. Get Which Button Pressed
_twM3C() .................. Get X coordinate of Mouse
_twM3D() .................. Get Y coordinate of Mouse
_twM4( nC, nD ) ........... Set Mouse Position
_twM5A( nB ) .............. Status of Button Pressed (0 = up, 1 = down)
_twM5B( nB ) .............. No. of Presses of Button
_twM5C( nB ) .............. Get X coordinate of Last Button Pressed
_twM5D( nB ) .............. Get Y coordinate of Last Button Pressed
_twM6A( nB ) .............. Button Status Releases
_twM6B( nB ) .............. Number of Releases
_twM6C( nB ) .............. Get X coordinate of Last Button Released
_twM6D( nB ) .............. Get Y coordinate of Last Button Released
_twM7( nC, nD ) ........... Set Mouse Max and Min Horizontal Position
_twM8( nC, nD ) ........... Set Mouse Max and Min Vertical Position
_twM10( nB, nC, nD ) ...... Set Mouse Cursor Type
_twM11C() ................. Conditional Cursor Off
_twM11D() ................. Get Horizontal Direction of Mouse
_twM16( nA, nB, nC, nD ) .. Get Vertical Direction of Mouse
_twM26( nB, nC, nD ) ...... Set Mouse Sensitivity and Double Speed Threshold
_twM27B() ................. Get Horizontal Mouse Sensitivity
_twM27C() ................. Get Vertical Mouse Sensitivity
_twM27D() ................. Get Double Speed Threshold
_twM33() .................. Software Reset
_twM42A() ................. Get Internal Cursor Flag.
_twM49A() ................. Get Minimum X Coordinate Limit
_twM49B() ................. Get Minimum Y Coordinate Limit
_twM49C() ................. Get Maximum X Coordinate Limit
_twM49D() ................. Get Maximum Y Coordinate Limit
** Clipper Calls to the Mouse **
twAddMSpot( aMouseSpot, nFreeSpot, aDef, nHandle ) ...... Add HotSpot
twAMButtonPress( nButton, aRegions, aColor ) ............ Press in Region
twAMClickShow( nButton, aRegions ) ...................... ** Display Click
twAMFound() ............................................. Mouse in Region?
twDelMSpot( nSpotNo, aHotSpot, nFreeSpot ) .............. Remove Hot Spot
twM2Click( nClick, nButton, nWait, nRow, nCol, nStart ) . Double Click
Page 11 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twMAddSpot( aStruct, nHndl ) ............................ ** Add Spot
twMakeRegions( aRegions ) ............................... ** Initialize
twMBPress( nButton, nButPrs, nX, nY ) ................... But. Press Info
twMBRelease( nButton, nButRel, nX, nY ) ................. But. Release Info
twMButtonDown( nButton ) ................................ Which Button?
twMClickShow( nButton, nTop, nLeft, nBottom, nRight ) ... ** Display Click
twMClose( mHndl ) ....................................... ** Close Regions
twMConfine( nTop, nLeft, nBottom, nRight, lAbs ) ........ Confine Mouse
twMCrsOff() ............................................. Mouse Cursor Off
twMCrsOn() .............................................. Mouse Cursor On
twMCursor( lState ) ..................................... Toggle Mouse
twMDefCrs( nCurType, nScrMask, nCurMask ) ............... Shape/Colour
twMDelSpot( nHndl, nSpotNo ) ............................ ** Remove Region
twMFound( nTop, nLeft, nBottom, nRight ) ................ Mouse in Region
twMFree() ............................................... Free Up Confines
twMGetLimits( nTop, nLeft, nBottom, nRight ) ............ Confine Settings
twMGetMickeys( nX, nY ) ................................. Where was Press?
twMGetPress( nX, nY ) ................................... Where was Press?
twMGetRC( nRow, nCol ) .................................. Mouse Row/Column
twMGetRCPress( nX, nY ) ................................. ** Get Array
twMGetRegions() ......................................... Get X Press
twMGetXPress( nMouseX ) ................................. ** Display YES/NO
twMGetYorn( cMessage ) .................................. Get Y Press
twMGetYPress( nMouseY ) ................................. Ignore the Mouse
twMIgnore( lIgnore ) .................................... Get Mickey Rate
twMOpen() ............................................... Open Region Array
twMouseInit( nShape, cColor ) ........................... Initialize Mouse
twMRegPress( nTR, nLC, nBR, nRC ) ....................... Press in Region
twMReset() .............................................. Reset the Mouse
twMResetRegions() ....................................... ** ReInit. Region
twMSetRC( nX, nY ) ...................................... Set Mouse Row/Col
twMSetRegions( aRegions ) ............................... ** Save Array
twMXConfine( nXMin, nXMax ) ............................. Horiz. Confine
twMYConfine( nYMin, nYMax ) ............................. Vertical Confine
twOKMouse() ............................................. Mouse Installed?
twSet2Click( nDblTime ) ................................. Set Double Click
twSetMPause( nSleepDef ) ................................ Set Default Pause
twSetMRTime( lReleaseDef ) .............................. Default Release
** Window Attributes and Instance Variables **
Window
_twBottom() .................................................. Bottom
_twColor() ................................................... Colour
_twCurrent() ................................................. Screen
_twFcolor() .................................................. Frame Colour
_twFrame() ................................................... Frame Type
_twHandle( nHandle ) ......................................... Handle
_twHidden() .................................................. Hidden Screen
_twHide() .................................................... Window Hidden
_twLeft() .................................................... Left
_twName() .................................................... Name
_twNext() .................................................... Next in List
_twOrigin( nHndl ) ........................................... Top/Left
Page 12 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
_twPrev() .................................................... Privious in List
_twRight() ................................................... Right
_twsBottom() ................................................. Hidden Bottom
_twShadow() .................................................. Shadow Type
_twShTh() .................................................... Thickness
_twsLeft() ................................................... Hidden Left
_twsRight() .................................................. Hidden Right
_twStack() ................................................... Stack Array
_twsTop() .................................................... Hidden Top
_twStructure( nHndl ) ........................................ Structure Ref.
_twTitle() ................................................... Title Array
_twTop() ..................................................... Top
*** General Commands ***
MACOMP( cExpr )
ASSERT( expl, func )
STRINT( x )
STRNUM(<x>)
LOG10( num )
ISPUNCT( mVar )
ISNIL( <v1> )
ISARR( <v1> )
ISBLK( <v1> )
ISCHAR( <v1> )
ISDATE( <v1> )
ISLOGI( <v1> )
ISMEMO( <v1> )
ISNUM( <v1> )
ISOBJ( <v1> )
REPEAT ... UNTIL
DEFAULT <p> TO <val> [,<pn> TO <valn>]
*** Window Oriented Commands ***
EXPLODEON
EXPLODEOFF
WINDOW
WINDOW TO <whandle>
WINDOW AT [<top>], [<left>], [<bottom>], [<right>] ;
WINDOW TO <whandle> AT [<top>], [<left>], [<bottom>], [<right>] ;
[COLOR <mcolor>] [SHADOW <mshadow>] [FRAME <mframe>] ;
[FILL <mfill>] [FCOLOR <mfcolor>] [TITLE <mtitle>]
WINHEADER title
WINFOOTER title
WINBORDER [FRAME <frame>] [COLOR <color>]
@ <row>, <col> WSAY <cexpr> [COLOR <color>] [PICTURE <picture>]
@ <row>, <col> WPROMPT <prompt> [MESSAGE <msg>] [COLOR <color>] ;
[WHEN <when>] [ACTION <action>];
WMENU TO <v>
Page 13 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
INFORM <message> [HEADER <header>] [WAIT <wait>] ;
[TOP <top>] [LEFT <left>] ;
[SHADOW <mshadow>] [FRAME <mframe>]
INQUIRE <message> TO <getvar> [HEADER <header>] ;
[TOP <top>] [LEFT <left>] ;
[SHADOW <mshadow>] [FRAME <mframe>]
WARNING <message> [HEADER <header>] [WAIT <wait>] ;
[TOP <top>] [LEFT <left>] ;
[SHADOW <mshadow>] [FRAME <mframe>]
MSGTEXT <message> [HEADER <header>] [WAIT <wait>] ;
[<top>], [<left>], [<bottom>], [<right>] ;
[COLOR <color>] [SHADOW <mshadow>] [FRAME <mframe>]
BUTTONBOX [<orient:H,V>] TO <mvar> [MESSAGE <message>] ;
[TITLE <title>] [WITH <nobuttons> BUTTONS] ;
[CHOICES <choices>] [START <start>] ;
AT [<top>], [<left>], [<bottom>], [<right>] ;
[SHADOW <shadow>] [FRAME <frame>] [EXITKEY <exitkey>] ;
[ACTIONKEYS <actionkeys>]
CHECKBOX [<orient:H,V>] TO <mvar> [MESSAGE <message>] ;
[TITLE <title>] [WITH <nobuttons> BUTTONS] ;
[CHOICES <choices>] [START <start>] ;
AT [<top>], [<left>], [<bottom>], [<right>] ;
[SHADOW <shadow>] [FRAME <frame>] [EXITKEY <exitkey>]
[ACTIONKEYS <actionkeys>]
RADIOBOX [<orient:H,V>] TO <mvar> [MESSAGE <message>] ;
[TITLE <title>] [WITH <nobuttons> BUTTONS] ;
[CHOICES <choices>] [START <start>] ;
AT [<top>], [<left>], [<bottom>], [<right>] ;
[SHADOW <shadow>] [FRAME <frame>] [EXITKEY <exitkey>] ;
[ACTIONKEYS <actionkeys>]
BROWSEARRAY <array> AT [<top>], [<left>], [<bottom>], [<right>] ;
[TITLE <title>] [HEADERS <headers>] [FOOTERS <footers>] ;
[EDIT <edit>] [ACTIONKEYS <actionkeys>] [COLOR <color>] ;
[SHADOW <shadow>] [FRAME <frame>] [FRAMECOLOR <framecolor>] ;
[AUTOLITE <autolite>] [FREEZE <freeze>]
BROWSEARRAY <array> TO <mvar> AT [<top>], [<left>], ;
[<bottom>], [<right>] ;
[TITLE <title>] [HEADERS <headers>] [FOOTERS <footers>] ;
[EDIT <edit>] [ACTIONKEYS <actionkeys>] [COLOR <color>] ;
[SHADOW <shadow>] [FRAME <frame>] [FRAMECOLOR <framecolor>] ;
[AUTOLITE <autolite>] [FREEZE <freeze>]
Page 14 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
BROWSEDBF AT [<top>], [<left>], [<bottom>], [<right>] ;
[COLUMNS <columns>] [TITLE <title>] [FOOTERS <footers>] ;
[TOPBLOCK <topblock>] [BOTTOMBLOCK <bottomblock>] ;
[SCOPEBLOCK <scopeblock>] [EDIT <edit>] ;
[ACTIONKEYS <actionkeys>] [COLOR <color>] [SHADOW <shadow>] ;
[FRAME <frame>] [FRAMECOLOR <framecolor>] ;
[SCROLLBAR <scrollbar>] [MESSAGES <messages>] ;
[AUTOLITE <autolite>] [FREEZE <freeze>] ;
[STABILIZE <stabilize>]
BROWSEDBF TO <mvar> AT [<top>], [<left>], [<bottom>], [<right>] ;
[COLUMNS <columns>] [TITLE <title>] [FOOTERS <footers>] ;
[TOPBLOCK <topblock>] [BOTTOMBLOCK <bottomblock>] ;
[SCOPEBLOCK <scopeblock>] [EDIT <edit>] ;
[ACTIONKEYS <actionkeys>] [COLOR <color>] [SHADOW <shadow>] ;
[FRAME <frame>] [FRAMECOLOR <framecolor>] ;
[SCROLLBAR <scrollbar>] ;
[MESSAGES <messages>] [AUTOLTE <autolte>] [FREEZE <freeze>] ;
[STABILIZE <stabilize>]
CALCINIT AT <top>, <left> [COLOR <color>] [SHADOW <shadow>] ;
[FRAME <frame>] [PASTE <paste>]
CALCINIT
CALCULATOR TO <nkey>
RESET CALCULATOR
MAKEWSHAD( <r1>, <c1>, <r2>, <c2> )
@ <row>, <col> PROMPT <prompt> [MESSAGE <msg>] [COLOR <color>]
[WHEN <when>] [ACTION <action>]
MENU TO <v>
*** Macros ***
WINTOP - Top line of the active window
WINLEFT - Left column of the active window.
WINBOTTOM - Bottom row of the active window.
WINRIGHT - Right column of the active window.
WINLENGTH - Length of the active window.
WINWIDTH - Width of the active window.
*** Macros ***
WINHANDLE - Handle of the active window.
WINSHADOW - Current shadow type.
WINTHICK - Thick or thin shadows.
WINTITLE - Reference to the current title array.
WINCOLOR - Current window color
WINFCOLOR - Current fram colour, may be type 'C' or 'A'.
WINFRAME - Current frame type.
GETSTACK - Reference to the window stack array.
Page 15 TSDWIN.LIB Version 2.00
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
Window and Box Borders | Shadow Types
"┌─┐│┘─└│" 1 - single line box | Based on Numeric KeyPad
"╔═╗║╝═╚║" 2 - double line box |
"╓─╖║╜─╙║" 3 - t-single double | 1 - Lower Left
"╒═╕│╛═╘│" 4 - t-double single |
"╓─┐│╛═╚║" 5 - 1-double single | 3 - Lower Right
"┌─╖║╝═╘│" 6 - 3-double single |
"╔═╕│┘─╙║" 7 - 7-double single | 7 - Upper Left
"╒═╗║╜─└│" 8 - 9-double single |
"████████" 9 - thick solid | 9 - Upper Right
"█▀███▄██" 10 - thin solid |
"░░░░░░░░" 11 - shaded light | Any other parameter gives
"▒▒▒▒▒▒▒▒" 12 - shaded medium |
"▓▓▓▓▓▓▓▓" 13 - shaded heavy | No Shadow
" " 14 - spaces |
---------------------------------------------------------------------------
Horizontal Lines | Vertical Lines
"-" 1 - dotted single | "│" 1 - single
"=" 2 - dotted double | "║" 2 - double
"≡" 3 - dotted triple | ":" 3 - dotted
"─" 4 - single | "|" 4 - dashed
"═" 5 - double | "■" 5 - heavy dotted
"■" 6 - dotted thick | "▌" 6 - left thin
"▀" 7 - top solid thin | "▐" 7 - right thin
"▄" 8 - bottom solid thin | "█" 8 - thick
"█" 9 - solid thick | "░" 9 - light shaded
"~" 10 - single wavy | "▒" 10 - medium shaded
"≈" 11 - double wavy | "▓" 11 - heavy shaded
| " " 12 - spaces
---------------------------------------------------------------------------
*** Special Key Codes ***
Key #defines Decimal Hex
Right Shift RSHIFT 1 0x0001
Left Shift LSHIFT 2 0x0002
Control CTRL 4 0x0004
Alternate ALT 8 0x0008
Scroll Status SCROLLSTAT 16 0x0010
Number Lock Status NUMLOCKSTAT 32 0x0020
Caps Lock Status CAPLOCKSTAT 64 0x0040
Insert Status INSERTSTAT 128 0x0080
Ctrl Number Lock Status CTRLNUMLKSTAT 2048 0x0800
Scroll Lock SCROLLOCK 4096 0x1000
Number Lock NUMLOCK 8192 0x2000
Caps Lock CAPLOCK 16384 0x4000
Insert INSERT 32768 0x8000
---------------------------------------------------------------------------
Copyright ( C ) 1991 Trilateral Systems Development Ltd.
All Rights Reserved * Version 2.00 * Release Date: 01-25-92
18 Bond St. South, Dundas, ON, Canada, L9H 3H1, 416-628-5086