BBjChildWindow::getBorderColor

Description

In BBj 15.00 and higher, this method returns the border color of the BBjChildWindow.

Syntax

Return Value

Method

BBjColor

getBorderColor()

Parameters

None.

Return Value

Returns the border color of the BBjChildWindow .

Remarks

The child window border color defaults to black.

Example

rem ' BBjChildWindow::getBorderColor

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(50,50,400,400,"Window",$00090003$)
window!.setCallback(window!.ON_CLOSE,"eoj")
child! = window!.addChildWindow(1,100,100,200,200,"Child",$$,1,$$)
i = msgbox(str(child!.getBorderColor()),0,"getBorderColor")
color! = sysgui!.makeColor(rnd(255),rnd(255),rnd(255))
child!.setBorderColor(color!)
i = msgbox(str(child!.getBorderColor()),0,"getBorderColor")
process_events

eoj:
release

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

CHILD Mnemonic

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