w-window
Last updated
Was this helpful?
Last updated
Was this helpful?
Adds supports for [PBWindowComponent]
Component Selector: 'wm-window'
PBWindowComponent extends .
Property
Get/Set
Notify Changes
Details
backColor: string
Yes/No
No
Specifies the numerical value of the background color of the window.
center: boolean
Yes/No
No
Causes the window to be centered.
controlMenu: boolean
Yes/No
No
Specifies whether the Control Menu box displays in the title bar.
enabled: boolean
Yes/Yes
No
height: number
Yes/Yes
No
Specifies the height of the window.
icon: string
Yes/Yes
No
Specifies a reference for icon.
maxBox: boolean
Yes/No
No
Specifies whether a Maximize Box displays in the title bar.
minBox: boolean
Yes/No
No
Specifies whether a Minimize Box displays in the title bar.
name: string
Yes/Yes
No
title: string
Yes/No
No
Specifies the text of the window title.
titleBar: boolean
Yes/No
No
Specifies whether a title bar displays.
visible: boolean
Yes/Yes
No
width: number
Yes/No
No
Specifies the width of the window, in PowerBuilder units.
windowState: enumerated
Yes/No
Yes
Specifies the state in which you want to run a window.
windowType: enumerated
Yes/No
No
Specifies the type of window.
x: number
Yes/Yes
No
y: number
Yes/Yes
No
Event
Supported
Parameter
Details
WindowClose
Yes
$event: any
Triggers WindowClose
Event.
resize
Yes
$event: any
Triggers resize
Event.
getfocus
Yes
$event: any
Triggers getfocus
Event.
losefocus
Yes
$event: any
Triggers losefocus
Event.
Function | Supported | Details changeMenuHandler | Yes | Changes the menu associated with a window. resizeHandler | Yes | Changes the size of the window to the size specified in the width and height arguments.
Inherited from BaseControlComponent
Inherited from BaseControlComponent
Inherited from BaseControlComponent
Inherited from BaseControlComponent
Inherited from BaseControlComponent