BBjGrid::isEnabled

Description

This method returns whether the BBjGrid is enabled.

Syntax

Return Value

Method

boolean

isEnabled()

Parameters

None.

Return Value

Returns whether the BBjGrid is enabled or disabled where 0 = disabled and 1 = enabled.

Remarks

By default, the BBjGrid is enabled. For further details on the behavior of the BBjGrid while it is enabled or disabled, see BBjGrid::setEnabled().

Example

declare BBjSysGui sysgui!
declare BBjTopLevelWindow win!
declare BBjStandardGrid grid!

sysgui!=BBjAPI().openSysGui("X0")
win!=sysgui!.addWindow(0,0,800,600,"GridTest")
grid!=win!.addGrid(win!.getAvailableControlID(),10,10,335,580,$8040$,6,4)

grid!.setSelectedCell(3,2)
grid!.setEnabled(0)
process_events

See Also

BBjAPI

BBjControl

BBjControl::isEnabled

BBjGrid

BBjGrid::setEnabled

BBjWindow

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