<<

Contents

Search

>>

 

REFRESHSELECTA

 

 

Instruction

 

 

Syntax:

REFRESHSELECTA(<Count>[,<Row Number>[,<Handle>[,<Column Headers>]]])

 

<Count>

= <NUM-EXPRESSION>

<Row Number>

= <NUM-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

<Column Headers>

= <STRING-EXPRESSION>

 

 

Meaning:

Redisplays all lines of a SELECTA.

 

REFRESHSELECTA can be used in order to display changed, deleted or inserted lines of a SELECTA.

 

<Handle> specifies in which window SELECTA is running. <Handle> can contain the window depth or the handle of a split window or a WINDOWCALL window. If the parameter <Handle> is missing, SELECTA has to run  in the current window.

 

Parameter:

Count

Changes the number of the table elements to be considered. If <Count> <= 0, this parameter does not have any effect.

 

Row Number

Defines the number of the line to be redisplayed. If <Row Number> = 0 or if the parameter <Row Number> is missing, the content of the SELECTA Window is completely redisplayed.

 

Handle

Window depth or handle of a split window or handle of a WINDOWCALL Window

 

Column Headers

Specifies the new column headers. If <Column Headers> is the empty string "", the parameter does not have any effect.

 

Sample:

DIM T$(100)

…

ON SELECT(DEL) MACRO SELECTA.DELETE

H% = SELECTA(T$,"",100,"Selecta",””,0)

…

Macro SELECTA.DELETE:

/* delete current row T$(EBUS_SELECTA)

FOR I% = EBUS_SELECTA TO 99

    T$(I%) = T$(I%+1)

ENDLOOP

T$(100) = ""

REFRESHSELECTA(100)

 

See also:

SELECTA

REFRESHSELECT