BBjMDI::isOutlineDrag

Description

In BBj 3.01 and higher, this method returns whether the BBjMDI is using Outline drag mode.

Syntax

Return Value

Method

boolean

isOutlineDrag()

Parameters

None.

Return Value

Returns whether the MDI is using Outline drag mode.

0 = Live

1 = Outline

Remarks

For default behavior and an explanation of Live versus Outline dragging, see BBjMDI::setOutlineDrag..

Example

REM Drag mode example

OPEN (UNT)"X0"
MDI! = BBjAPI().getMDI()
mdi!.createMDIWindow(50, 50, 1000, 800, "Drag Mode Example")

mdi!.setOutlineDrag(0)
PRINT "Drag mode: ", mdi!.isOutlineDrag()
CALLBACK(ON_CLOSE,APP_CLOSE,mdi!.MDI_CONTEXT)
a = scall("Bbj &")

process_events

APP_CLOSE:
mdi!.closeAll(0)

See Also

BBjAPI

BBjMDI

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