home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
CLIPPER
/
NCCLIB.ZIP
/
NCCCODE.ZIP
/
NCCVIEW.DOC
< prev
next >
Wrap
Text File
|
1993-05-02
|
8KB
|
99 lines
┌─────────────────────────────────────────────────────────────────┬────────────┐
│Instance Variables Value Description │ NccView │
├─────────────────┬─────────────┬─────────────────────────────────┴────────────┤
│TopRow │ <nExp> │ Get/Set Top Row of display area │
│LeftColumn │ <nExp> │ Get/Set Left Column of display area │
│BottomRow │ <nExp> │ Get/Set Bottom Row of display area │
│RightColumn │ <nExp> │ Get/Set Right Column of display area │
│USEstyle │ <lExp> │ Get/Set Style: │
│ │ │ .f. - Display area is cleared before each │
│ │ │ refresh and stops at the end of the │
│ │ │ display area or the end of the DATA │
│ │ │ │
│ │ │ .t. - if NccView reaches the end of the │
│ │ │ DATA before reaching the end of the │
│ │ │ display area then Datablock is │
│ │ │ evaluated with .f. until the end of │
│ │ │ the window │
│ │ │ │
│Refresh │ <lExp> │ Get/Set Flag: .T. indicates that a │
│ │ │ RefreshAll() is needed │
│ │ │ │
│RelativeRow │ <nExp> │ Get/Set Relative Row in display area │
│CurrentRow │ <nExp> │ Get/Set Current Row in display area │
│CurrentStatus │ <nExp> │ Get/Set Current Status │
│StandardColor │ <cExp> │ Get/Set the Standard Color │
│InverseColor │ <cExp> │ Get/Set the Current DATA item color │
│AtTop │ <lExp> │ Get Indicator specifying at Top of DATA │
│AtBottom │ <lExp> │ Get Indicator specifying at End of DATA │
│ │ │ │
│DataBlock │<{|lExp|...}>│ Get/Set Display DATA Block │
│ │ │ lExp == .f. if usestyle = .t. and NccView │
│ │ │ is AtBottom but not at the end of │
│ │ │ the display area. │
│ │ │ ==> Return <cExp> │
│ │ │ │
│WhileBlock │ <{||...}> │ Get/Set While condition for DATA items │
│ │ │ ==> Return <lExp> │
│ │ │ │
│StatusBlock │ <{|n|..}> │ Get/Set Status block for NccView │
│ │ │ n := CurrentStatus │
│ │ │ ==> Return Value Ignored │
│ │ │ │
│SkipBlock │ <{|n|..}> │ Get/Set Skip block for DATA items │
│ │ │ n := Number requested to skip │
│ │ │ ==> Return <nExp> of actual skipped │
│ │ │ │
│GoTopBlock │ <{||...}> │ Get/Set GoTop Block for DATA items │
│ │ │ ==> Return Value Ignored │
│ │ │ │
│GoBottomBlock │ <{||...}> │ Get/Set GoBottom Block for DATA items │
│ │ │ ==> Return Value Ignored │
│ │ │ │
│UserSlot │ <xExp> │ Get/Set User defined Slot ( Any DATA Type ) │
│BufferedDisplay │ <lExp> │ Get/Set Buffered display flag │
└─────────────────┴─────────────┴──────────────────────────────────────────────┘
┌────────────────────────────────────────────────────────┬────────────┐
│Methods Description │ NccView │
├─────────────────────┬──────────────────────────────────┴────────────┤
│Up([<nExp>]) │ Move up 1 or <nExp> DATA items │
│Down([<nExp>]) │ Move down 1 or <nExp> DATA itmes │
│PageUp() │ Move up display area height - 1 │
│PageDown() │ Move down display area height - 1 │
│Home() │ Move to top of display area │
│End() │ Move to end of display area │
│GoTop() │ Go to Top of DATA items │
│GoBottom() │ Go to End of DATA items │
│Activate([<nExp>]) │ Activate NccView placing current DATA item │
│ │ at 0 or <nExp> offset within display area │
│Terminate() │ Terminate NccView │
│While() │ Test if in While condition │
│RefreshCurrent() │ Redisplay current DATA item │
│RefreshAll([<nExp>]) │ Redisplay all DATA items <nExp> Offset in win.│
│Stabilize() │ If Refresh. Try to Stablilize NccView │
│ForceStable() │ If Refresh. Force NccView to Stabilize │
│HighLight() │ Highlight Current DATA item │
│DeHighLight() │ DeHighlight Current DATA item │
│ShowStatus([<nExp>]) │ Show <nExp> status or CurrentStatus │
│StandardKeys(<nExp>) │ Test and execute the standard method assoc. │
│ │ with the inkey value nExp. │
│ │ │
│ │ ==> Return <lExp> indicating if key was │
│ │ processed │
│ │ │
│ │ K_UP - Up() │
│ │ K_SH_TAB - Up() │
│ │ K_DOWN - Down() │
│ │ K_TAB - Down() │
│ │ K_HOME - Home() │
│ │ K_END - End() │
│ │ K_PGUP - PageUp() │
│ │ K_PGDN - PageDown() │
│ │ K_CTRL_PGUP - GoTop() │
│ │ K_CTRL_PGDN - GoBottom() │
│ │ K_ESC - Terminate() │
│ │ │
└─────────────────────┴───────────────────────────────────────────────┘