w-window
Adds supports for [PBWindowComponent]
Implementation Details
Component Selector: 'wm-window'
Class inheritance
PBWindowComponent extends BaseControlComponent.
Support
Properties
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 | Inherited from BaseControlComponent see BaseControlComponent |
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 | Inherited from BaseControlComponent see BaseControlComponent |
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 | Inherited from BaseControlComponent see BaseControlComponent |
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 | Inherited from BaseControlComponent see BaseControlComponent |
y: number | Yes/Yes | No | Inherited from BaseControlComponent see BaseControlComponent |
Events
Event | Supported | Parameter | Details |
WindowClose | Yes | $event: any | Triggers |
resize | Yes | $event: any | Triggers |
getfocus | Yes | $event: any | Triggers |
losefocus | Yes | $event: any | Triggers |
Functions
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.
Last updated