BBjTopLevelWindow::isUndocked

Description

In BBj 24.21 and higher, this method returns whether this BBjTopLevelWindow is undocked.

Syntax

Return Value Method
boolean isUndocked()

Parameters

None.

Return Value

In BBj 24.21 and higher, this method returns whether this BBjTopLevelWindow is undocked.

Remarks

This method is only meaningful in the WEBGUI client.

Example

rem ' BBjTopLevelWindow::isUndocked
sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
sysgui!.setScale(2,2)
title$ = "BBjTopLevelWindow::isUndocked"
window! = sysgui!.addWindow(25,25,300,100,title$,$00090083$)
window!.setCallback(window!.ON_CLOSE,"eoj")
isUndocked! = window!.addButton(1,25,25,250,25,"isUndocked",$$)
isUndocked!.setCallback(BBjButton.ON_BUTTON_PUSH,"isUndocked")
process_events
eoj:
  release
isUndocked:
  isUndocked = window!.isUndocked()
  isUndocked$ = Boolean.toString(isUndocked)
  isUndocked$ = "isUndocked: " + isUndocked$
  isUndocked = msgbox(isUndocked$,0,title$)
return

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

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