home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
t
/
tw21l.exe
/
TSWINQRF.DOC
< prev
next >
Wrap
Text File
|
1993-02-06
|
65KB
|
1,059 lines
Page 1 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
TSDWIN FUNCTIONS Alphabetical List
*NOTE - Functions beginning with [n] are duplicated for moused and non
moused applications. Mouse Support is removed and the appropriate
functions are linked automatically when compiling with '/dNOMOUSE'
and #include "tsdwin.ch".
You may call either function in your code, of course.
AddRec() .............................................. Network add record
ClearMouseGet() ....................................... Mouse clear gets
FilLock() ............................................. Metwork file lock
MouseExit() ........................................... Mouse read exit
RecLock() ............................................. Network record lock
[n]twABBarDisp() ...................................... Display scroll bar
[n]twABBrowse( wT, wL, wB, wR, aInRa, cTitle,;
aColHead, aFooters, lEditFlag,;
aActionKeys, wColor, wSType,;
wFType, wFColor, lScBar, lAlite,;
nFreeze, lStabilize, bPreRun,;
bPostRun, nExitKey, lBarOn, lWindow,; Moused
cHelpVar, nHelpLevel ) ................. Array browser
[n]twABGetBrowse() .................................... Browser reference
twABHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ..... Mouse hot spot
twABLineOff( aHandles ) ............................... Mouse line off
twABLineOn( aHandles ) ................................ Mouse line on
twABLinePop( aHandles ) ............................... Pop mouse line
twABMouseLine( aArray, nSpace, nButton, nRow ) ........ Make mouse line
twABRemHotSpot( nSpotNo ) ............................. Delete hot spot
twABSpotOff( nSpotNo ) ................................ Disable hot spot
twABSpotOn( nSpotNo ) ................................. Enable hot spot
[n]twACChoice( nTop, nLeft, nBottom, nRight,;
aChoices, aLogicals, cUser,;
nStartItem, nWinRow, lScBar, nTag,;
cACColor, cBarColor, bPreRun,; Moused
bPostRun, cHelpVar, nHelpLevel ) ....... ACHOICE()
twACHotSpot( nTopRow, nLeftCol, nBotRow, nRightCol,;
bAction, nButton, nSleep, lRelease ) ..... Mouse hot spot
twACLineOff( aHandles ) ............................... Mouse line off
twACLineOn( aHandles ) ................................ Mouse line on
twACLinePop( aHandles ) ............................... Pop mouse line
twACMouseLine( aArray, nSpace, nButton, nRow ) ........ Make mouse line
twACRemHotSpot( nSpotNo ) ............................. Delete hot spot
twACSpotOff( nSpotNo ) ................................ Disable hot spot
twACSpotOn( nSpotNo ) ................................. Enable hot spot
twActivate( nHandle ) ................................. Activate window
twAddGlobal( xInGlobal ) .............................. Add global variable
twAddMSpot( aMouseSpot, nFreeSpot, aDef, nHandle ) .... Add hot spot
[n]twAddRec( nWait ) .................................. Network append
twAEmaxlen( aArray, nDimension, nStart, nCount ) ...... Array maximum
[n]twAlertInit( Type, mColor ) ........................ Init. alert
twAMButtonPress( nButton, aRegions, aColor ) .......... Button press array
twAMClickShow( nButton, aRegions ) .................... Show click
[n]twAMClose() ........................................ Close area message
twAMFound() ........................................... Mouse in array
Page 2 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
[n]twAMPop() .......................................... Pop area message
[n]twAMsgEnd() ........................................ End area message
[n]twAMsgInit( nType, xColor, aArea) .................. Init. area message
[n]twArBrowse( wT, wL, wB, wR, aInRa , cTitle,;
aColHead, Footers, lEditFlag,;
aActionKeys, wColor, sType, fType,;
wfColor, lAlite, nFreeze, cHelpVar,; Non moused
nHelpLevel ) ........................... Array browse
twArComp( aArray, bComp, nStart, nStop ) .............. Array compare
[n]twARPick( aArray, cHeader, nTop, nLeft, wColor,;
wSType, wFType, wFColor, nRestrict,;
nTag, lSound, cHelpVar, nHelpLevel ) ..... Array picklist
twArrayAsList( aArray, cDelimiter ) ................... Array as list
twASay( aStrings, nRow, nCol, cAttr, nRowSkip,;
nHandle, lToScreen ) .......................... Display strings
twAttrib( wBorder, wColor, wT, wL, wB, wR,;
nHandle, lToScreen ) ........................ Change attribute
[n]twBackUp( cPath, cSourceSpec, cDest, lMsgs,;
wColor, wStype, wFtype, wFcolor,;
cBColor, cBFcolor, bPreRun ) ............. Backup files
twBlankScrn( cBlankStr, wColor, nTime, lClear,;
bBlock ) ................................. Screen blanker
twBox( wT, wL, wB, wR, bType, wColor, wFill, lAbs,;
nShadow, nHandle, lToScreen ) .................. Draw box
[n]twBRBarDisp() ...................................... Display scroll bar
[n]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, lWindow,;
bBarColor, aSrch, lNetwork,; Moused
cHelpVar, nHelpLevel ) ................. DBF Browser
[n]twBRGetBrowse() .................................... Browse reference
twBRHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ..... Mouse hot spot
twBRLineOff( aHandles ) ............................... Mouse line off
twBRLineOn( aHandles ) ................................ Mouse line on
twBRLinePop( aHandles ) ............................... Pop mouse line
twBRMouseLine( aArray, nSpace, nButton, nRow ) ........ Make mouse line
[n]twBRNewSearch( aNewSrch, lReset ) .................. New search array
twBRRemHotSpot( nSpotNo ) ............................. Delete hot spot
twBRSpotOff( nSpotNo ) ................................ Disable hot spot
twBRSpotOn( nSpotNo ) ................................. Enable hot spot
[n]twButtonBox( bType, Msg, Title, NoButtons,;
Buttons, sButton, wT, wL, wB, wR,;
wSType, wFType, aExitKey, ActionKeys,;
bPreRun, bPostRun, cHelpVar,;
nHelpLevel ) .......................... Button box
twCalcInit( nT, nL, cColor, cStype, cFtype,;
cFColor, lOKPaste ) ....................... Init. calculator
twCalculator( nT, nL, cColor, cStype, cFtype,;
cFColor, lOKPaste, nInValue,;
cHelpVar, nHelpLevel ) .................. Calculator
Page 3 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
twCalendar( dDate, nT, nL, cColor, cStype, cFtype,;
cFColor, lOKPaste, cHelpVar, nHelpLevel ) . Calendar
twCallCalc( cProc, nLine, cVar ) ...................... Setkey calculator
twCallDate( cProc, nLine, cVar ) ...................... Setkey calendar
twCenter( nRow, xInValue, cAttr, _wPicture, nHandle,;
lYesNo, lToScreen ) ......................... Center output
twCentre( nRow, xInValue, cAttr, _wPicture, nHandle,;
lYesNo, lToScreen ) ......................... Center output
[n]twCheckBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, wSType,;
wFType, aExitKey, ActionKeys, bPreRun,; Multiple
bPostRun, cHelpVar, nHelpLevel ) ....... Choice box
twClear( wBorder, wFill, wT, wL, wB, wR,;
nHandle, lToScreen ) ......................... Clear window
twClearLine( nRow, wBorder, cAttr, nHandle,;
lToScreen ) .............................. Clear window line
twClearWith( lBorder, cPattern, wT, wL, wB, wR,;
cAttr ) .................................. Pattern clear
twClockOff() .......................................... Turn off clock
twClockOn( wT, wL, wColor, lAbsolute ) ................ Turn on clock
twClose( nHandle ) .................................... Close window
twCol( nCol ) ......................................... Window column
twConvert( xToCnvrt, cCnvrtTo, lYesNo ) ............... Convert data
twCreateButton( wT, wL, cButton, lPad, wColor,;
wStype ) .............................. Create button
twDate( wT, wL, wColor, lAbsolute ) ................... Display date
twDateInit( nT, nL, cColor, cStype, cFtype,;
cFColor, lOKPaste ) ....................... Init. calendar
[n]twDBPick( cAlias, cField, cColHead, nTop, nLeft,;
wColor, wSType, wFType, wFColor, bReturn,;
lSound, aSrch, cHelpVar, nHelpLevel ) .... DBF picklist
[n]twDBrowse( wT, wL, wB, wR, aColumns, cTitle,;
Footers, bTopBlock, bBotBlock,;
bScopeBlock, lEditFlag, aActionKeys,;
wColor, wsType, wfType, wfColor, lScBar,;
lMsgs, lAlite, nFreeze, lStabilize,; Non moused
lNetWork, cHelpVar, nHelpLevel ) ........ DBF browser.
twDec2Sci( nDecimal, nPrecision, nLength ) ............ Decimal/Scientific
twDelGlobal( nHndl ) .................................. Delete global var
twDelMSpot( nSpotNo, aHotSpot, nFreeSpot ) ............ Delete hot spot
twDirectory( cSpec, cAttributes ) ..................... DIRECTORY()
twDisplay( nHandle ) .................................. Display window
twDoubleSpace( cString, lUpper ) ...................... Double Space
twEnhClr( InColor ) ................................... Enhanced colour
twEvSetTime( nTime ) .................................. Set Timeout Time
twEvTimeOut( bBlock ) ................................. Timeout Code Block
twExplode( lOKExplode ) ............................... Explode windows
[n]twFileLock( nWait ) ................................ Network file lock
twFileName( cFile ) ................................... Format file name
twFilePop( nHndl ) .................................... Pop file info
twFileStack( nArea, nSelect ) ......................... Stack file info
twFrame( wFtype, wfColor, nHandle, lTitles ) .......... Draw frame
twGaugeDisplay( aHandle ) ............................. Display gauge bar
twGaugeNew( wT, wL, wB, wR, cBackClr, cBarClr,;
cBarCharacter, wfType ) ................... Create gauge bar
twGaugeUpdate( aHandle, nPercent ) .................... Update gauge bar
Page 4 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
twGet( nRow, nCol, _wGetBlk, _wGetName, GetList,;
_wGpicture, _wGcolor, wWhenBlk, wValidBlk ) .... Get in window
[n]twGetABrowse() ..................................... Browse reference
twGetApplyKey( oGet, nKey, nMouseCol ) ................ GETSYS02
[n]twGetCurElem() ..................................... Browse element
twGetCurValue( xValue ) ............................... Value of get
[n]twGetDBrowse() ..................................... Browse reference
twGetGlobal( nHndl ) .................................. Fetch global var
twGetReader( aGetList, nPos, lMouseExit ) ............. TSDGET
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
twGlobalArray() ....................................... Global reference
[n]twHelp( cProc, nLine, cVar ) ....................... TSDWIN help
[n]twHelpColor() ...................................... Help colour
[n]twHelpFColor() ..................................... Help frame colour
[n]twHelpFrame() ...................................... Help frame type
[n]twHelpInit( wColor, wFColor, wTColor, wSType,;
wFType ) ............................... Init. help
[n]twHelpShadow() ..................................... Help shadow type
[n]twHelpTColor() ..................................... Help title colour
twHide( nHandle ) ..................................... Hide window
twHLine( nRow, nCol, Length, lType, wColor,;
nHandle, lToScreen ) ......................... Horizontal line
[n]twIndexMaker( aNtxArray, wT, wL, wB, wR, wColor,;
wsType, wfType, cHeader, agColor,;
lMsgs, nBarFrame, bPreRun ) .......... Create indexes
[n]twInfo( InMsg, Header, Wait, wT, wL, sType, fType,;
cHelpVar, nHelpLevel ) ..................... Informative message
[n]twInfoLine( Wait, InMsg, cJustify, nLine ) ......... Informative message
twInit( Thickness ) ................................... Init. windows
twInitGlobal( aInGlobal ) ............................. Init. global vars
twInkeyWait( nSecs, cHelpVar, nHelpLevel ) ............ Wait w/Setkey()
[n]twInquire( InMsg, Header, Var2Read, wT, wL, sType,;
fType, cPicture, cHelpVar, nHelpLevel ) .
[n]twIsDrive( nDrive, wStype, wFtype ) ................ Boxed get
twKeyPop( nHndl ) ..................................... Pop key stack
twKeyStack( aKeys ) ................................... Make key stack
twLdate( dDate ) ...................................... Display long date
twLeft( nRow, xInValue, cAttr, _wPicture, nHandle,;
lYesNo, lToScreen ) ........................... Left justify
[n]twLineMenu( nRow, nStartCol, nEndCol, aChoices,;
nChoice, wColor, nExitKey, lFreeze,;
lSound, bPrerun, bPostrun, lWindow,;
wSType, wFType, wFColor,;
cHelpVar, nHelpLevel ) ................. Bar menu
twLineShad( bRows, bCols, Buttons, tShadow ) .......... Thin shadow
twListAsArray( cList, cDelimiter ) .................... List as array
twM2Click( nClick, nButton, nWait, nRow, nCol,;
nStart ) ................................... Double click
twMAddSpot( aStruct, nHndl ) .......................... Add hot spot
[n]twMakeHelp( cProc, nLine, cVar ) ................... Create TSDWIN help
twMakeRegions( aRegions ) ............................. Make regions
twMakeShadowArea( sT, sL, sB, sR, sType ) ............. Make shadow area
Page 5 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
twMBPress( nButton, nButPrs, nX, nY ) ................. Button press
twMBRelease( nButton, nButRel, nX, nY ) ............... Button release
twMButtonDown( nButton ) .............................. Button pressed
twMClickShow( nButton, nTop, nLeft, nBottom, nRight ) . Shock click
twMClose( mHndl ) ..................................... Close regions
twMConfine( nTop, nLeft, nBottom, nRight, lAbs ) ...... Confine mouse
twMCrsOff() ........................................... Mouse cursor off
twMCrsOn() ............................................ Mouse cursor on
twMCursor( lState ) ................................... Mouse cursor state
twMDefCrs( nCurType, nScrMask, nCurMask ) ............. Define mouse cursor
twMDelSpot( nHndl, nSpotNo ) .......................... Delete hot spot
twMEHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ..... Mouse hot spot
twMELineOff( aHandles ) ............................... Mouse line off
twMELineOn( aHandles ) ................................ Mouse line on
twMELinePop( aHandles ) ............................... Pop mouse line
[n]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, bPreRun,; Moused
bPostRun, cHelp, nLevel ) .............. Memo edit
twMEMouseLine( aArray, nSpace, nButton, nRow ) ........ Make mouse line
[n]twMemoView( wT, wL, wB, wR, cMemo, cTitle,;
cFooters, wColor, wSType, wFType,;
wFColor, lWindow, cHelpVar,;
nHelpLevel ) ........................... Display memo
[n]twMenuGetElem() .................................... Get menu element
[n]twMenuInit( nMsgType, nRow, nCol, cColor,;
lHRetain, cMenuClr ) ................... Init. Menu
[n]twMenuSetClr( cColor ) ............................. Menu colours
[n]twMenuTo( bVarblock, cVarName, aMenu,;
cHelpVar, nHelpLevel ) ................... Operate menu
twMERemHotSpot( nSpotNo ) ............................. Delete hot spot
twMESpotOff( nSpotNo ) ................................ Disable hot spot
twMESpotOn( nSpotNo ) ................................. Enable hot spot
twMFound( nTop, nLeft, nBottom, nRight ) .............. Mouse in region
twMFree() ............................................. Free mouse
twMGetLimits( nTop, nLeft, nBottom, nRight ) .......... Get mouse confine
twMGetMickeys( nX, nY ) ............................... Get sensitivity
twMGetPress( nX, nY ) ................................. Press at coords
twMGetRC( nRow, nCol ) ................................ Mouse at Row/Col
twMGetRCPress( nX, nY ) ............................... Press at Row/Col
twMGetRegions() ....................................... Mouse in region
twMGetXPress( nMouseX ) ............................... X-mouse press
twMGetYorn( cMessage ) ................................ Moused Yes/No
twMGetYPress( nMouseY ) ............................... Y-mouse press
twMIHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nMouseKey, nSleep, lRelease ) ... Mouse hot spot
twMILineOff( aHandles ) ............................... Mouse line off
twMILineOn( aHandles ) ................................ Mouse line on
twMILinePop( aHandles ) ............................... Pop mouse line
twMIMouseLine( aArray, nSpace, nButton, nRow ) ........ Make mouse line
twMInit() ............................................. Init. Mouse regions
Page 6 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
twMInkeyWait( nSecs, lKeyExit, lMouseExit,;
lSetKeys, cHelpVar, nHelpLevel ) ........ Moused wait
twMIRemHotSpot( nSpotNo ) ............................. Delete hot spot
twMISpotOff( nSpotNo ) ................................ Disable hot spot
twMISpotOn( nSpotNo ) ................................. Enable hot spot
twMOpen() ............................................. Open mouse regions
twMouseInit( nShape, cColor ) ......................... Init. mouse driver
twMove( Vert, Horz, nHandle ) ......................... Pause
twMPause( nSeconds, nStart ) .......................... Pause
[n]twMPop() ........................................... Pop box message
twMRegPress( nTR, nLC, nBR, nRC ) ..................... Press in region
twMReset() ............................................ Reset mouse driver
twMResetRegions() ..................................... Reset mouse regions
twMSetRC( nX, nY ) .................................... Set mouse row/col
twMSetRegions( aRegions ) ............................. Set mouse regions
[n]twMsgEnd() ......................................... End box messages
[n]twMsgInit( Type, mColor) ........................... Init. box messages
twMXConfine( nXMin, nXMax ) ........................... X-confine mouse
twMYConfine( nYMin, nYMax ) ........................... Y-confine mouse
[n]twNetInit( nShadow, nFrame, cTitleClr ) ............ Init. network
[n]twNetUse( cFile, cAlias, lExclusive,;
nWait, lNewArea ) ........................ Network file open
[n]twNetUse1( cFile, cAlias, lExclusive,;
nWait, lNewArea ) ....................... Network file open
twNew( wT, wL, wB, wR, wColor, wShadow, wFtype,;
wFill, wFcolor, wTitle ) ....................... Create window
twNoOccurs( cSearch, cSource, lCase ) ................. No. of occurrences
twNthOccur( cSource, cTarget, nWhich, lCase ) ......... Nth occurrence
twNum2Str( nValue, nMantLen, nDecLen ) ................ Number to string
twOKMouse() ........................................... Mouse used?
twOpen( wT, wL, wB, wR, wColor, wShadow, wFtype,;
wFill, wFcolor, wTitle ) ...................... Open window
twPause( nTime ) ...................................... Mouse pause time
twPop( lLeaveOn ) ..................................... Pop window
twPopAreas( nHndl ) ................................... Pop work areas
[n]twPopChoice( aChoices, cHeader, wT, wL, nChoice,;
wColor, wsType, wfType, wFColor,;
cJustify, cUser, nStartRow, lSbar,;
bPreRun, bPostRun, cHelpVar,;
nHelpLevel ) .......................... Windowed ACHOICE()
[n]twPopMenu( amArray, cHeader, aMsg, wT, wL,;
nChoice, wColor, wsType, wfType,;
wFColor, wTColor, nRowSkip, cHelpVar,;
nHelpLevel ) ............................ Windowed menu
twPrompt( nRow, nCol, _wPrompt, _wMessage ) ........... Create PROMPT
twProper( nStrLen ) ................................... Proper case valid
twProperCase( cInString ) ............................. Proper case string
[n]twPrReady( cDevice, cMessage, cHeader, wT, wL,;
wSType, wFType, cHelpVar, nHelpLevel ) .. Device ready
twPutTitles( aTitle, nHandle ) ........................ Show window titles
twQDBrowse( wT, wL, wB, wR, aColumns, xTitle, wColor,;
wsType, wfType, wfColor, nFreeze, aSrch,;
lAlite, bPreRun, bPostRun, bBarColor,; Quick
cHelpVar, nHelpLevel ) .................... DBF Browser
[n]twRABarDisp() ...................................... Display scroll bar
Page 7 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
[n]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, lWindow,; Moused
bBarColor, cHelpVar, nHelpLevel ) ...... Array browser
[n]twRadioBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, wSType,;
wFType, aExitKey, ActionKeys, bPreRun,; Single choice
bPostRun, cHelpVar, nHelpLevel ) ....... Box
[n]twRAGetArray() ..................................... Array reference
[n]twRAGetBrowse() .................................... Browse reference
[n]twRAGetCurrent() ................................... Current element
[n]twRAGetElement( n ) ................................ Current value
twRAHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ..... Mouse hot spot
twRALineOff( aHandles ) ............................... Mouse line off
twRALineOn( aHandles ) ................................ Mouse line on
twRALinePop( aHandles ) ............................... Pop mouse line
twRAMouseLine( aArray, nSpace, nButton, nRow ) ........ Make mouse line
twRandom( nMax ) ...................................... Random number
twRARemHotSpot( nSpotNo ) ............................. Delete hot spot
[n]twRASetArray( aInArray ) ........................... New browse array
twRASpotOff( nSpotNo ) ................................ Disable hot spot
twRASpotOn( nSpotNo ) ................................. Enable hot spot
twReadModal( aGetList, lMouseExit ) ................... Moused read
[n]twRecLock( nWait ) ................................. Network record lock
twREHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nSleep, lRelease ) ..... Mouse hot spot
twRELineOff( aHandles ) ............................... Mouse line off
twRELineOn( aHandles ) ................................ Mouse line on
twRELinePop( aHandles ) ............................... Pop mouse line
twREMouseLine( aArray, nSpace, nButton, nRow ) ........ Make mouse line
twReplicate( nRow, nCol, Char, Number, wColor,;
nHandle, lToScreen ) ..................... REPLICATE()
twRERemHotSpot( nSpotNo ) ............................. Delete hot spot
twRESpotOff( nSpotNo ) ................................ Disable hot spot
twRESpotOn( nSpotNo ) ................................. Enable hot spot
twRestAry( cFileName, nErrorCode ) .................... Restore disk arrray
[n]twRestore( cPath, cSource, lMsgs, wColor, wStype,;
wFtype, wFcolor, cBColor, cBFcolor,;
bPreRun ) ............................... Restore files
twRestoreShadowArea( tShadow ) ........................ Show shadow area
twRestScrEnv() ........................................ Restor 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
twSaveAry( aArray, cFileName, nErrorCode ) ............ Save array to disk
twSaveScrEnv() ........................................ Save environment
Page 8 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
twSay( nRow, nCol, xInValue, cAttr, _wPicture,;
nHandle, lYesNo, lToScreen ) ................... Display value
twSay2( nRow, nCol, cString, cAttr, nHandle,; 2 colour
lToScreen ) ................................... Display value
twSayGet( nRow, nCol, cString, _wSpicture, _wScolor,;
_wGetBlk, _wGetName, GetList, _wGpicture,;
_wGcolor, wWhenBlk, wValidBlk ) ............. @...say...get
twScBarMove( aScrollBar, sTop, sLeft,;
sBottom, sRight ) ........................ Move scroll bar
twScBarNew( nTopRow, nTopColumn, nEndRowCol,;
cColorString, nInitPosition,;
nDirection ) .............................. Make scroll bar
twScBarShow( aScrollBar ) ............................. Display scroll bar
twScBarUpdate( aScrollBar, nCurrent, nTotal,;
lForceUpdate ) ......................... Update scroll bar
twSci2Dec( cScientific ) .............................. Scientific/Decimal
twScroll( nLines, wBorder, wT, wL, wB, wR, wColor,;
nHandle, lToScreen ) ........................ Scroll window
twSeed( nNum ) ........................................ Seed random number
[n]twSemLock( cOperation, cFileName ) ................. Lock semaphore
[n]twSemUnlock( cOperation, cFileName ) ............... Unlock semaphore
twSet2Click( nDblTime ) ............................... Set double click
twSetCursor( lOn ) .................................... Set cursor
twSetGlobal( nHndl , xInGlobal ) ...................... Set global value
twSetMPause( nSleepDef ) .............................. Set mouse wait
twSetMRTime( lReleaseDef ) ............................ Set mouse release
twSetStruct( wT, wL, wB, wR, sT, sL, sB, sR, uScr ) ... Set window struct.
twShadow( wT, wL, wB, wR, wStype, lAbs ) .............. Shadow window
twShow( nHandle ) ..................................... Show window
twShowShadowArea( sT, sL, sB, sR, tShadow,;
vShadow, hShadow ) .................. Show shadow area
twSize( cDirection, nNum2Size, lSaveORide,;
lContinuous ) ................................. Size window
twSlide( Direction, sNumber, lShadow ) ................ Slide window
twSpaceText( Texts, wL, wR ) .......................... Space strings
twSplitClr( InColor ) ................................. Colour as array
twSplitTxt( InString, LineLen, MaxLines ) ............. String as array
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 shadow area
twStr2Num( cValue ) ................................... String to number
twStr2Scr( _string, wAttribute ) ...................... String to screen
twStrCenter( wL, wR, cString ) ........................ Center coords
twStrDate( nFormat, nDate ) ........................... Date to String
twStrTime( nFormat, cTime ) ........................... Time to String
twStrSlide( cDirection, nRow, nCol, cString,;
wColor, nDelay ) .......................... Slide a string
twSumArray( aArray, nStartIndex, nEndIndex ) .......... Summ an array
[n]twTextFile( wT, wL, wB, wR, fName, wColor,;
wShadow, wFtype, wFcolor,;
wTitle, bPreRun ) ...................... View text file
Page 9 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
[n]twTextMsg( InMsg, Header, Wait, wT, wL, wB, wR,;
wColor, sType, fType, Footer, bPreRun,;
cHelpVar, nHelpLevel ) .................. Display text
twTitle( cString, wColor, _Row, _Justify, _Delim,;
nHandle ) .................................... Title a window
twType( nRow, nCol, cString, cAttr, Sound ) ........... Type a string
twUnHide( nHandle ) ................................... Unhide a window
twUnsClr( InColor ) ................................... Unselected colour
twVattr( WColor ) ..................................... colour to number
twVersion() ........................................... TSDWIN version
twVLine( nRow, nCol, Length, lType, wColor,;
nHandle, lToScreen ) ......................... Vertical line
[n]twWarn( InMsg, Header, Wait, wT, wL, sType, fType,;
cHelpVar, nHelpLevel ) ..................... Warning message
[n]twWarnLine( Wait, InMsg, cJustify, nLine ) ......... Warning message
twWorm( aInWorm, nWait, bBlock, nMinTop, nMinLeft,;
nMaxBot, nMaxRight ) .......................... Screen blanker
twWSaveAsc() .......................................... Save to ASCII
twWSaveMem() .......................................... Save to .MEM
tw_ASay( wT, wL, aray, attr1, attr2 ) ................. Display strings
tw_BAttr( cScr, nW, nX, nY, nXx, nYy, nAttr ) ......... Buffer attribute
tw_BChr( cScr, nW, nX, nY, nCh, nAttr ) ............... Buffer character
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 string
tw_BSay2( cScr, nW, nX, nY, cStr, nAttr1, nAttr2 ) .... Buffer string
tw_BSayA( cScr, nW, nX, nY, nAttr1,;
nAttr2, nRowskip ) .......................... Buffer strings
tw_BScroll( cScr, nW, nX, nY, nXx, nYy,;
nDir, nAttr ) ............................. Buffer scroll
tw_GetKSt( nKey ) ..................................... Get Keyboard status
tw_MdDial( cNumber ) .................................. Dial modem
tw_MdInit( nBaud ) .................................... Init. modem
tw_MdPort( nPort ) .................................... Set COM port
tw_MdSt() ............................................. Modem status
tw_MdStr( cString ) ................................... String to modem
tw_MPrompt( nTp, nLt, cScr, nAttr1, nAttr2,;
nShtype, nAttr3 ) ......................... Display prompt
tw_NtxPos( nOrder, nRecno ) ........................... Index position
tw_NtxRec( nOrder, nPosition ) ........................ Index record
tw_Say( wT, wL, strg, pattr ) ......................... Display string
tw_Say2( wT, wL, strg, attr1, attr2 ) ................. Display string
tw_Scr2Str( cScreen ) ................................. Screen to string
tw_ScrApp( scrpos, scr1, scr2, leng, wid ) ............ Screen append
tw_ScrDel( scrpos, scr1, leng, wid ) .................. Screen delete
tw_ScrXtr( scr, tp,lt, bm, rt, tN, lN, leng, wid ) .... Screen extract
tw_SetKSt( nKey, nStatus ) ............................ Set keyboard status
tw_Shadow( cScr, nW, nX, nY, nXx, nYy, nStype,;
nSthick ) .................................. Make shadow
tw_TFile( fHndl, tp, lt, bt, rt, j, norm ) ............ View text file
tw_VAttr( wT, wL, wB, wR, pattr ) ..................... Screen attribute
_twAttrChg() .......................................... Savescreen attribute
_twClock() ............................................ ASM clock
_twColor() ............................................ Window colour
Page 10 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
_twCurrent() .......................................... Window buffer
_twExplode() .......................................... Explode status
_twFcolor() ........................................... Window frame colour
_twFrame() ............................................ Window frame type
_twHandle() ........................................... Window handle
_twHidden() ........................................... Window hidden screen
_twHide() ............................................. Window hidden?
_twIsDevice() ......................................... Device ready
_twIsDrive( n ) ....................................... Drive ready
_twKBoard( n ) ........................................ Stuff keyboard
_twLeft() ............................................. Window left column
_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
_twName() ............................................. Window name
_twNext() ............................................. Window next stack
_twOrigin( nHndl ) .................................... Window origin
_twPosition() ......................................... Window stack pos.
_twPrev() ............................................. Window prev stack
_twRight() ............................................ Window right column
_twSaved() ............................................ Window saved screen
_twsBottom() .......................................... Window saved bottom
_twShadow() ........................................... Window shadow type
_twShTh() ............................................. Windows thickness
_twsLeft() ............................................ Window saved left
_twsRight() ........................................... Window saved right
_twStack() ............................................ Window stack ref.
Page 11 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
_twsTop() ............................................. Window saved top
_twStructure( nHndl ) ................................. Window structure
_twTitle() ............................................ Window titles
_twTop() .............................................. Window top row
_tw_Shadow( nTopRow, nTopCol, nBotRow, nBotCol,;
nSType, nSThick ) ......................... Shadow a window
TSDWIN COMMANDS Alphabetical List
@ <row>, <col> WPROMPT <prompt> [MESSAGE <msg>];
[COLOR <color>] [WHEN <when>];
[ACTION <action>] ............................. Create a menu prompt.
@ <row>, <col> WSAY <cexpr> ;
[COLOR <color>] [PICTURE <picture>] ................ Display a value.
AEXPAND( <array>, <number> ) ........... Expand an array by a given amount.
ASHRINK( <array>, <size> ) ............................... Shrink an array.
ASSERT( expl, func ) ......................................... Assertation.
BRBROWSE <nTop>, <nLeft>, <nBottom>, <nRight> ;
COLUMNS <aColumns> [TITLE <cTitle>];
[TOPKEY <cTopKey>] [SCOPEBLOCK <bScopeBlock>];
[EDIT <lEditFlag>] [ACTIONKEYS <aActionKeys>];
[COLOR <cColor>] [SHADOW <nShadow>];
[FRAME <nFrame>] [FCOLOR <cFColor>];
[SCROLLBAR <lScBar>] [MESSAGES <lMsgs>];
[AUTOLITE <lAlite>] [FREEZE <nFreeze>];
[STABILIZE <lStabilize>] [PRERUN <bPreRun>];
[POSTRUN <bPostRun>] [EXITKEY <nExitKey>] ;
[SEPARATORS <aSeparators>] ;
[APPENDBROWSE <lOKAppend>];
[SOUND <lSound>] [WINDOW <lWindow>];
[BARCOLOR <bBarColor>][SEARCH <aSrch>];
[NETWORK <lNetWork> [HELPVAR <cHelpVar>] ;
[HELPLEVEL <nHelpLevel>] ..................... Create a twBRBrowse().
BRBROWSETO <nTop>, <nLeft>, <nBottom>, <nRight>;
TO <nChoice>;
COLUMNS <aColumns> [TITLE <cTitle>];
[TOPKEY <cTopKey>] [SCOPEBLOCK <bScopeBlock>];
[EDIT <lEditFlag>] [ACTIONKEYS <aActionKeys>];
[COLOR <cColor>] [SHADOW <nShadow>];
[FRAME <nFrame>] [FCOLOR <cFColor>];
[SCROLLBAR <lScBar>] [MESSAGES <lMsgs>];
[AUTOLITE <lAlite>] [FREEZE <nFreeze>];
[STABILIZE <lStabilize>] [PRERUN <bPreRun>];
[POSTRUN <bPostRun>] [EXITKEY <nExitKey>] ;
[SEPARATORS <aSeparators>] ;
[APPENDBROWSE <lOKAppend>];
[SOUND <lSound>] [WINDOW <lWindow>];
[BARCOLOR <bBarColor>][SEARCH <aSrch>];
[NETWORK <lNetWork> [HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] .......... Create and assign a twBRBrowse().
Page 12 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
BRCOLUMN <aColumns> ;
[HEADING <cHead>] [BLOCK <bBlk>];
[WIDTH <nWid>] [FOOTER <cFoot>] ;
[EDIT <lEdit>] [PICTURE <cPic>];
[WHEN <bWhn>] [VALID <bVld>];
[READER <bRdr>] [COLOR <aClr>];
[COLORBLOCK <bClr>] [COLSEP <cCsep>] ;
[HEADSEP <cHsep>] [FOOTSEP <cFsep>] ... Create a twBRBrowse() column.
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>] [HELPVAR <cHelpVar>] ;
[HELPLEVEL <nHelpLevel>] ......... Browse an array with twArBrowse().
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>] [HELPVAR <cHelpVar>] ;
[HELPLEVEL <nHelpLevel>] ......,,. Browse an array with twArBrowse().
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>] [HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] ............. Browse a dbf with twDBrowse().
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>];
[AUTOLITE <autolite>] [FREEZE <freeze>];
[STABILIZE <stabilize>] [HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] ............. Browse a dbf with twDBrowse().
Page 13 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
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>];
[PRERUN <bPreRun>] [POSTRUN <bPostRun>];
[HELPVAR <cHelpVar>] [HELPLEVEL <nHelpLevel>] . Operate a Button Box.
CALCINIT ....................................... Initialize the calculator.
CALCINIT AT <top>, <left> [COLOR <color>] [SHADOW <shadow>] ;
[FRAME <frame>] [PASTE <paste>] .......... Initialize the calculator.
CALCULATOR TO <nkey>
CALCULATOR TO ................................ Set the calculator to a key.
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>];
[PRERUN <bPreRun>] [POSTRUN <bPostRun>];
[HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] ............. Operate a Multiple Choice Box.
CLEARWITH <cPattern>, [<nTop>], [<nLeft>], [<nBottom>], ;
[<nRight>] [BORDER <lBorder>];
[COLOR <cAttr>] ...................... Clear a window with a pattern.
CREATEWINDOW ................................. Create a full screen window.
CREATEWINDOW AT [<nTop>], [<nLeft>], [<nBottom>], [<nRight>];
[COLOR <cColor>] [SHADOW <nShadow>] [FRAME <nFrame>];
[FILL <cFill>] [FCOLOR <cFColor>];
[TITLE <cTitle>] ..................... Create a window a coordinates.
CREATEWINDOW TO <nHandle> ......... Create and assign a window to variable.
CREATEWINDOW TO <nHandle> AT ;
[<nTop>], [<nLeft>], [<nBottom>], [<nRight>] ;
[COLOR <cColor>] [SHADOW <nShadow>] [FRAME <nFrame>];
[FILL <cFill>] [FCOLOR <cFColor>];
[TITLE <cTitle>] ................. Create and assign a window handle.
DEFAULT <p> TO <val> [,<pn> TO <valn>] ........... Defaults for parameters.
EXPLODEOFF ..................................... Set exploding windows off.
EXPLODEON ....................................... Set Exploding Windows on.
INFOLINE <InMsg> [WAIT <nWait>] [JUSTIFY <cJust>];
[LINE <nLine>] ................................ Create a twInfoLine().
INFORM <message> [HEADER <header>] [WAIT <wait>] ;
[TOP <top>] [LEFT <left>] [SHADOW <mshadow>];
[FRAME <mframe>] [HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] ............. Display an informative message.
INQUIRE <message> TO <getvar> [HEADER <header>] ;
[TOP <top>] [LEFT <left>] [SHADOW <mshadow>];
[FRAME <mframe>] [HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] ............................. Do a boxed get.
ISARR( <v1> ) ............................................. Is it an array?
ISBLK( <v1> ) ......................................... Is it a code block?
ISCHAR( <v1> ) ......................................... Is it a character?
ISDATE( <v1> ) .............................................. Is it a date?
ISLOGI( <v1> ) ........................................... Is it a logical?
ISMEMO( <v1> ) ........................................ Is it a memo field?
Page 14 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
ISNIL( <v1> ) .................................................. Is it nil?
ISNUM( <v1> ) ............................................. Is it a number?
ISOBJ( <v1> ) ............................................ Is it an object?
ISPUNCT( mVar ) ........................................ Is it punctuation?
LOG10( num ) .......................................... Base ten logarithm.
MACOMP( cExpr ) .................................. Compile to a code block.
MAKEWSHAD( <r1>, <c1>, <r2>, <c2> ) .............. Shadow a screen region.
MSGTEXT <message> [HEADER <header>] [WAIT <wait>] ;
[<top>], [<left>], [<bottom>], [<right>] ;
[COLOR <color>] [SHADOW <mshadow>] [FRAME <mframe>];
[FOOTER <cFooter>] [PRERUN <bPreRun>];
[HELPVAR <cHelpVar>] [HELPLEVEL <nHelpLevel>] . Display a long string.
POPLINE ......................................... Pop an area message line.
POPMSG ................................................. Pop a box message.
RABROWSE <nTop>, <nLeft>, <nBottom>, <nRight> ;
ARRAY <aArray> COLUMNS <aColumns> [TITLE <cTitle>];
[EDIT <lEditFlag>] [ACTIONKEYS <aActKeys>];
[COLOR <cColor>] [SHADOW <wShadow>] [FRAME <wFrame>];
[FCOLOR <FColor>] [SCROLLBAR <lScrBar>] ;
[AUTOLITE <lAutoLite>] [FREEZE <nFreeze>] ;
[STABILIZE <lStabilize>] [PRERUN <bPreRun>] ;
[POSTRUN <bPostRun>] [EXITKEY <nExitKey>];
[BAR <lBarOn>] [SEPARATORS <aSeparators>] ;
[APPENDBROWSE <aAppend>] [SOUND <lSound>];
[WINDOW <lWindow>] [BARCOLOR <bBarColor>] ;
[HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] ..................... Create a twRABrowse().
RABROWSETO <nTop>, <nLeft>, ;
<nBottom>, <nRight> TO <nChoice> ;
ARRAY <aArray> COLUMNS <aColumns> [TITLE <cTitle>];
[EDIT <lEditFlag>] [ACTIONKEYS <aActKeys>];
[COLOR <cColor>] [SHADOW <wShadow>] [FRAME <wFrame>];
[FCOLOR <FColor>] [SCROLLBAR <lScrBar>] ;
[AUTOLITE <lAutoLite>] [FREEZE <nFreeze>] ;
[STABILIZE <lStabilize>] [PRERUN <bPreRun>] ;
[POSTRUN <bPostRun>] [EXITKEY <nExitKey>];
[BAR <lBarOn>] [SEPARATORS <aSeparators>] ;
[APPENDBROWSE <aAppend>] [SOUND <lSound>];
[WINDOW <lWindow>] [BARCOLOR <bBarColor>] ;
[HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] .......... Create and assign a twRABrowse().
RACOLUMN <aColumns> [COLUMN <nColNumber>] [HEADING <cHead>];
[WIDTH <nWID>] [FOOTER <cFooter>] [EDIT <lEdit>];
[PICTURE <cPICTURE>] [WHEN <bWhen>] [VALID <bValid>];
[READER <bReader>] [COLOR <aClr>] [COLORBLOCK <bClr>];
[COLSEP <cCSep>] [HEADSEP <cHSep>];
[FOOTSEP <cFSep>] ..................... Create a twRABrowse() column.
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>];
[PRERUN <bPreRun>] [POSTRUN <bPostRun>];
[HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] ............... Operate a single choice box.
Page 15 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
REPEAT ... UNTIL ........................................... Do While Loop.
RESET CALCULATOR ......................... Clear the calculator .mem files.
STRINGSLIDE <cString> AT <nRow>, <nCol> ;
DIRECTION <cDirection> [COLOR <cColor>];
[DELAY <nDelay>] ...................... Slide a string into a window.
STRINT( x ) ............................................ Integer to string.
STRNUM(<x>) ............................................. Number to string.
Tsd Clear Gets <GetList> ............................Mouse read clear gets.
TSD CLEAR GETS <GetList> ............................Mouse read clear gets.
TSD MEMO EDIT <nTop>, <nLeft>, <nBottom>, <nRight>;
TO <cMemo> [TITLE <cTitle>] [FOOTER <cFooter>];
[UDF <cUdf>] [ACTIONKEYS <aActKeys>] [WINCOLOR <cColor>] ;
[SHADOW <wShadow>] [FRAME <wFrame>] [FCOLOR <FColor>] ;
[MESSAGE <lMsg>] [WRAP <lWrap>] [EDIT <lEditMode>];
[WIDTH <nLineLength>] [TAB <nTabSize>] ;
[BUFFROW <nTBurRow>] [BUFFCOL <nTBurCol>] ;
[WINROW <nWinRow>] [WINCOL <nWinCol>] [SCROLL <lScrBar>];
[WINDOW <lWindow>] [PRERUN <bPreRun>] [POSTRUN <bPostRun>] ;
[HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] .................... Create a twMemoEdit().
TWWAIT <nWait> [HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] ............................ Wait w/Setkeys.
WARNING <message> [HEADER <header>] [WAIT <wait>] ;
[TOP <top>] [LEFT <left>] [SHADOW <mshadow>];
[FRAME <mframe>] [HELPVAR <cHelpVar>];
[HELPLEVEL <nHelpLevel>] .................. Display a warning message.
WARNLINE <InMsg> [WAIT <nWait>] [JUSTIFY <cJust>];
[LINE<nLine>] ................................. Create a twWarnLine().
WINACTIVATE <nHandle> .................................. Activate a window.
WINATTRIBUTE [<nTop>], [<nLeft>], [<nBottom>], [<nRight>];
[BORDER <lBorder>] [COLOR <cColor>];
[HANDLE <nHandle>] [TOSCREEN <lToScreen>] . Change a window attribute.
WINBORDER [FRAME <frame>] [COLOR <color>] ................... Window frame.
WINBOX <nTop>, <nLeft>, <nBottom>, <nRight>;
TYPE <nType> [COLOR <cColor>];
[SHADOW <nShadow>] [FILL <cFill>] ;
[ABSOLUTE <lAbs>] [HANDLE <nHandle>] ;
[TOSCREEN <lToScreen>] ..................... Create a box in a window.
WINBUTTON <nTop>, <nLeft> PROMPT <cButton> [PAD <lPad>];
[COLOR <cColor>] [SHADOW <nShadow>] ..... Create a button in a window.
WINCENTER <xOutput> AT <nRow> [COLOR <cAttr>];
[PICTURE <cPicture>] [HANDLE <nHandle>] ;
[TOSCREEN <lToScreen>];
[YESNO <lYesNo>] ........................ Center a string in a window.
WINCENTRE <xOutput> AT <nRow> [COLOR <cAttr>] ;
[PICTURE <cPicture>] [HANDLE <nHandle>] ;
[TOSCREEN <lToScreen>];
[YESNO <lYesNo>] ........................ Center a string in a window.
WINCLEAR [<nTop>], [<nLeft>], [<nBottom>], [<nRight>];
[BORDER <lBorder>] [FILL <cFill>];
[HANDLE <nHandle>] [TOSCREEN <lToScreen>] ............ Clear a window.
WINCLEARLINE <nRow> [BORDER <lBorder>] [COLOR <cAttr>];
[HANDLE <nHandle>] [TOSCREEN <lToScreen>] ........ Clear a window row.
WINCLOSE <nHandle> ........................................ Close a window.
WINDISPLAY <nHandle> .................................... Display a window.
Page 16 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
WINDOW ......................................... Open a full screen window.
WINDOW AT [<top>], [<left>], [<bottom>], [<right>] ;
[COLOR <mcolor>] [SHADOW <mshadow>] [FRAME <mframe>] ;
[FILL <mfill>] [FCOLOR <mfcolor>];
[TITLE <mtitle>] .......................... Open a part screen window.
WINDOW TO <whandle> ................. Open and assign a full screen window.
WINDOW TO <whandle> AT [<top>], [<left>], [<bottom>], [<right>];
[COLOR <mcolor>] [SHADOW <mshadow>] [FRAME <mframe>];
[FILL <mfill>] [FCOLOR <mfcolor>];
[TITLE <mtitle>] ............... Open and assign a part screen window.
WINFOOTER title ...................................... Window bottom title.
WINHEADER title ......................................... Window top title.
WINHIDE <nHandle > ......................................... Hide a window.
WINHLINE <nRow>, <nCol> LENGTH <Length> TYPE <nType> ;
[COLOR <cColor>] [HANDLE <nHandle>] ;
[TOSCREEN <lToScreen>] ........... Draw a horizontal line in a window.
WINLEFT <xOutput> AT <nRow> [COLOR <cAttr>] ;
[PICTURE <cPicture>] [HANDLE <nHandle>] ;
[TOSCREEN <lToScreen>];
[YESNO <lYesNo>] .................. Left justify a string in a window.
WINMOVE [VERT <nVert>] [HORIZ <nHorz>];
[HANDLE <nHandle>]..................................... Move a window.
WINPOP ..................................................... Pop a window.
WINRIGHT <xOutput> AT <nRow> [COLOR <cAttr>] ;
[PICTURE <cPicture>] [HANDLE <nHandle>] ;
[TOSCREEN <lToScreen>];
[YESNO <lYesNo>] ................. Right justify a string in a window.
WINSAY <xOutput> AT <nRow>, <nCol> [COLOR <cAttr>];
[PICTURE <cPicture>] [HANDLE <nHandle>] ;
[TOSCREEN <lToScreen>];
[YESNO <lYesNo>] ....................... Display a string in a window.
WINSAY2 <cString> AT <nRow>, <nCol> [COLOR <cAttr>];
[HANDLE <nHandle>];
[TOSCREEN <lToScreen>] .................... Display a 2 colour string.
WINSAYARRAY <aStrings> AT <nRow>, <nCol> [COLOR <cAttr>];
[ROWSKIP <nRowSkip>] [HANDLE <nHandle>];
[TOSCREEN <lToScreen>] .................. Display an array of strings.
WINSHOW <nHandle> ............................... Display a created window.
WINSIZE DIRECTION <cDirection> [NUMBER <nNum2Size>];
[CONTINUOUS <lContinuous>] .......................... Size a window.
WINSLIDE DIRECTION <cDirection> [NUMBER <nNumber>];
[SHADOW <lShadow>] ................................ Slide a window.
WINTYPE <cString> AT <nRow>, <nCol> ;
[COLOR <cAttr>] [SOUND <lSound>] ........ Type a string in a window.
WINUNHIDE <nHandle> ...................................... Unhide a window.
WINVLINE <nRow>, <nCol> LENGTH <Length> TYPE <nType> ;
[COLOR <cColor>] [HANDLE <nHandle>] ;
[TOSCREEN <lToScreen>] .......... Draw a vertical line in a window.
WMENU TO <v> ....................................... Operate a TSDWIN menu.
Page 17 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
TSDWIN MACROS
General
TSD_HSEP "═╤═"
TSD_CSEP " │ "
TSD_FSEP "═╧═"
TRUE .T.
YES .T.
FALSE .F.
NO .F.
Window
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.
WINHANDLE - Handle of the active window.
WINSHADOW - Current shadow type.
WINTHICK - Thick or thin shadows.
WINSTRUCT - Window Structure Array
WINTITLE - Reference to the current title array.
WINCOLOR - Current window color
WINFCOLOR - Current frame colour, may be type 'C' or 'A'.
WINFRAME - Current frame type.
WINNAME - Name of the current window.
WINHIDE - Is the window hidden?
WINNEXT - Next window in the list.
WINPREV - Previous window in the list
WINCARGO - Window Cargo
GETSTACK - Reference to the window stack array.
Scroll Bar
SB_ROWTOP 1
SB_COLTOP 2
SB_ROWBOTTOM 3
SB_COLBOTTOM 4
SB_COLOR 5
SB_POSITION 6
SB_DIRECTION 7
SB_MOUSEID 8
SB_ELEMENTS 8 The number of elements defining a
scroll bar
Page 18 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface Library Quick Reference List
-----------------------------------------------------------------------------
SB_UPARROW CHR( 24 )
SB_DNARROW CHR( 25 ) The Up and Down arrows,
SB_LEFTARROW CHR( 27 ) highlight and background
SB_RIGHTARROW CHR( 26 ) char's for the tab character.
SB_HIGHLIGHT CHR( 219 )
SB_BACKGROUND CHR( 176 )
SB_HORIZONTAL 1 Directions for scroll bars
SB_VERTICAL 2
Mouse
MHIDE IIF( lOKMouse, _twM2(), .T. )
MSHOW IIF( lOKMouse, _twM1(), .T. )
MOKSHOW IIF(( lOKMouse := twOKMouse() ), _twM1(), .T. )
Page 19 TSDWIN.LIB Version 2.10
Clipper 5.01a Interface 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