BBjSysGui::setDefaultScrollWheelBehavior

Description

In BBj 6.0 and higher, this method sets the scroll behavior of all MouseWheelEnabled controls that do not specify their own scroll mode.

Syntax

Return Value

Method

void

setDefaultScrollWheelBehavior(int mode)

Parameters

See MouseWheelEnabled for appropriate constants; DEFAULT cannot be used.

Return Value

None.

Remarks

By default, the SYSGUI specifies MOUSE_OVER as the default scroll mode.

Example

SYSGUI = UNT
OPEN (SYSGUI)"X0"
sysgui! = BBjAPI().getSysGui()
sysgui!.setDefaultScrollWheelBehavior(sysgui!.FOCUS)
PRINT "SG SCROLL MODE: ", sysgui!.getDefaultScrollWheelBehavior()

See Also

BBjAPI

BBjWindow

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