BBjChildWindow::setBorderColor

Description

In BBj 15.0 and higher, this method sets the border color of the BBjChildWindow.

Syntax

Return Value

Method

void

setBorderColor(BBjColor color!)

Parameters

Variable

Description

color!

BBjChildWindow border color.

Return Value

None.

Remarks

The child window border color defaults to black.

Example

rem ' BBjChildWindow::setBorderColor

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