BBjStandardGrid::hideColumns

Description

In BBj 19.10 and higher, this method will hide all hidden columns in the specified BBjVector of column indices or in a range of columns. If all of the specified columns 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

hideColumns(BBjVector p_columns)

void

hideColumns(int p_startColumn, int p_endColumn)

Parameters

Variable

Description

p_columns

A vector of column indices.

p_startColumn

The first column of a range.

p_endColumn

The last column 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(1)
vector!.add(4)
vector!.add(5)
grid!.hideColumns(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.