BBjGrid::getTrimBlankSpace

Description

In BBj 9.0 and higher, this method returns an indication of this grid will trim its size if it is larger than the size needed to display the field table, all headers and all scrollbars.

Syntax

Return Value

Method

boolean

getTrimBlankSpace()

Parameters

None.

Return Value

Returns the value most recently set by setTrimBlankSpace().

Remarks

By default, a grid does not trim blank space.

Example

open(unt)"X0"
sysgui! = BBjAPI().getSysGui()
window! = sysgui!.addWindow(10,10,600,400,"test")
grid! = window!.addGrid(200, 10, 10, 400, 300)
grid!.setNumColumns(3)
grid!.setNumRows(3)
escape
print grid!.getTrimBlankSpace()
grid!.setTrimBlankSpace(1)

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

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