BBjStandardGrid::unhideColumns

Description

In BBj 19.10 and higher, this method will unhide all hidden columns in the grid, in the specified BBjVector of column indices, or in a range of columns. If none of the specified columns are hidden, the method will do nothing.

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

Syntax

Return Value

Method

void

unhideColumns()

void

unhideColumns(BBjVector p_columns)

void

unhideColumns(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")
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)
grid!.hideColumn(1)
grid!.hideColumn(4)
grid!.hideColumn(5)
grid!.unhideColumns()
process_events

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

BBjGrid

BBjStandardGrid

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