BBjStandardGrid::hideRows

Description

In BBj 19.10 and higher, this method will hide all rows in the specified BBjVector of row indices or in a range of rows. If all of the specified rows are already hidden, the method will do nothing.

Note: This method only works in GUI, and is not available in BUI.

Syntax

Return Value

Method

void

hideRows(BBjVector p_rows)

void

hideRows(int p_startRow, int p_endRow)

Parameters

Variable

Description

p_rows

A vector of row indices.

p_startRow

The first row of a range.

p_endRow

The last row of a range.

Return Value

None.

Remarks

This function is not available in BUI.

Example

declare BBjSysGui sysgui!
declare BBjWindow win!
declare BBjStandardGrid grid!
sysgui!=BBjAPI().openSysGui("X0")
win!=sysgui!.addWindow(0,0,640,480,"Grid Testing Program")
grid!=win!.addGrid(101,0,0,640,400,$8040$,10,10)
vector!=sysgui!.makeVector()
vector!.add(0)
vector!.add(5)
vector!.add(8)
vector!.add(9)
grid!.hideRows(vector!)
process_events

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

BBjGrid

BBjStandardGrid

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.