panels.js

Summary
panels.js
Panels
ngAlignPanel (ngAlignFrame)Standard align panel control (based on ngPanel/ngFrame).
Properties
AutoSize...
Child Controls Properties
ControlAlign...
AlignAutoUpdate...
Methods
CtrlBringToFrontvoid CtrlBringToFront (object ctrl)
CtrlSendToBackvoid CtrlSendToBack (object ctrl)
CtrlInsertAftervoid CtrlInsertAfter (object ctrl, object whichctrl)
CtrlInsertBeforevoid CtrlInsertBefore (object ctrl, object whichctrl)
ngSplitPanelThis class implements a generic split panel control.
Definition
Controls1...
Controls2...
ControlsPanel1Controls panel definition.
ControlsPanel2Controls panel definition.
Properties
PanelAlign...
ResizeMode...
Size...
MinSize...
MaxSize...
AutoMinimize...
AutoMaximize...
HandleVisible...
MoverStartImg...
MoverMiddleImg...
MoverEndImg...
HandleImg...
Methods
SetSizeChanges size of split panel.
MinimizeMinimizes split panel.
MaximizeMaximizes split panel.
RestoreRestores split panel to its normal size.
IsMaximizedDetermines if split panel is maximized.
IsMinimizedDetermines if split panel is minimized.
Events
OnGetImg
OnResize
OnHandleClick
OnSizeChanging
OnSizeChanged
OnMinimize
OnMaximize
OnRestore
ngDropPanelThis class implements a generic drop-down panel control.
Definition
DroppedDownDetermines if panel is dropped down when created.
CWClientRect width.
CHClientRect height.
ControlsPanelControls panel definition.
Properties
Button...
Methods
GetClientRectGets client rectangle dimensions.
SetClientRectSets client rectangle dimensions.
Events
OnDropDown

Panels

ngAlignPanel (ngAlignFrame)

Standard align panel control (based on ngPanel/ngFrame).

Summary
Properties
AutoSize...
Child Controls Properties
ControlAlign...
AlignAutoUpdate...
Methods
CtrlBringToFrontvoid CtrlBringToFront (object ctrl)
CtrlSendToBackvoid CtrlSendToBack (object ctrl)
CtrlInsertAftervoid CtrlInsertAfter (object ctrl, object whichctrl)
CtrlInsertBeforevoid CtrlInsertBefore (object ctrl, object whichctrl)

Properties

AutoSize

...  Type: bool Default value: false

Child Controls Properties

ControlAlign

...  Type: integer Default value: alNone

AlignAutoUpdate

...  Type: bool Default value: true

Methods

CtrlBringToFront

Syntax

void CtrlBringToFront (object ctrl)

Parameters

Returns

-

CtrlSendToBack

Syntax

void CtrlSendToBack (object ctrl)

Parameters

Returns

-

CtrlInsertAfter

Syntax

void CtrlInsertAfter (object ctrl, object whichctrl)

Parameters

Returns

-

CtrlInsertBefore

Syntax

void CtrlInsertBefore (object ctrl, object whichctrl)

Parameters

Returns

-

ngSplitPanel

This class implements a generic split panel control.

Syntax

new ngSplitPanel ([string id])

Parameters

idparent element

See also

Abstract class ngControl.

Summary
Definition
Controls1...
Controls2...
ControlsPanel1Controls panel definition.
ControlsPanel2Controls panel definition.
Properties
PanelAlign...
ResizeMode...
Size...
MinSize...
MaxSize...
AutoMinimize...
AutoMaximize...
HandleVisible...
MoverStartImg...
MoverMiddleImg...
MoverEndImg...
HandleImg...
Methods
SetSizeChanges size of split panel.
MinimizeMinimizes split panel.
MaximizeMaximizes split panel.
RestoreRestores split panel to its normal size.
IsMaximizedDetermines if split panel is maximized.
IsMinimizedDetermines if split panel is minimized.
Events
OnGetImg
OnResize
OnHandleClick
OnSizeChanging
OnSizeChanged
OnMinimize
OnMaximize
OnRestore

Definition

Controls1

...  Type: object

Controls2

...  Type: object

ControlsPanel1

Controls panel definition.  Type: object

ControlsPanel2

Controls panel definition.  Type: object

Properties

PanelAlign

this.PanelAlign

...  Type: string Default value: ’left’

ResizeMode

this.ResizeMode

...  Type: enum

Constants

ngspResizeSize...
ngspResizeMinSize...
ngspResizeMaxSize...
ngspResizeAutoMinimize...
ngspResizeAutoMaximize...

Default value: ngspResizeSize

Size

this.Size

...  Type: int Default value: 200

MinSize

this.MinSize

...  Type: int Default value: 0

MaxSize

this.MaxSize

...  Type: int Default value: 0

AutoMinimize

this.AutoMinimize

...  Type: int Default value: 0

AutoMaximize

this.AutoMaximize

...  Type: int Default value: 0

HandleVisible

this.HandleVisible

...  Type: bool Default value: true

MoverStartImg

this.MoverStartImg

...  Type: object

MoverMiddleImg

this.MoverMiddleImg

...  Type: object

MoverEndImg

this.MoverEndImg

...  Type: object

HandleImg

this.HandleImg

...  Type: object

Methods

SetSize

Changes size of split panel.

Syntax

void SetSize (int size)

Parameters

Returns

-

Minimize

Minimizes split panel.

Syntax

void Minimize ()

Parameters

Returns

-

Maximize

Maximizes split panel.

Syntax

void Maximize ()

Parameters

Returns

-

Restore

Restores split panel to its normal size.

Syntax

void Restore ()

Parameters

Returns

-

IsMaximized

Determines if split panel is maximized.

Syntax

bool IsMaximized ()

Parameters

Returns

-

IsMinimized

Determines if split panel is minimized.

Syntax

bool IsMinimized ()

Parameters

Returns

-

Events

OnGetImg

OnResize

OnHandleClick

OnSizeChanging

OnSizeChanged

OnMinimize

OnMaximize

OnRestore

ngDropPanel

This class implements a generic drop-down panel control.

Syntax

new ngDropPanel ([string id])

Parameters

idparent element

See also

Abstract class ngControl.

Summary
Definition
DroppedDownDetermines if panel is dropped down when created.
CWClientRect width.
CHClientRect height.
ControlsPanelControls panel definition.
Properties
Button...
Methods
GetClientRectGets client rectangle dimensions.
SetClientRectSets client rectangle dimensions.
Events
OnDropDown

Definition

DroppedDown

Determines if panel is dropped down when created.  Type: bool (default: false)

CW

ClientRect width.  Type: integer

CH

ClientRect height.  Type: integer

ControlsPanel

Controls panel definition.  Type: object

Properties

Button

this.Button

...  Type: object

Methods

GetClientRect

Gets client rectangle dimensions.

Syntax

object GetClientRect ()

Returns

Rectangle dimensions in format { W: width, H: height }.

SetClientRect

Sets client rectangle dimensions.

Syntax

void SetClientRect (object rect)

Parameters

rect{ W: width, H: height } Returns: -

Events

OnDropDown

This class implements a generic panel control.
Standard frame control (based on ngPanel).
this.PanelAlign
...
this.ResizeMode
...
this.Size
...
this.MinSize
...
this.MaxSize
...
this.AutoMinimize
...
this.AutoMaximize
...
this.HandleVisible
...
this.MoverStartImg
...
this.MoverMiddleImg
...
this.MoverEndImg
...
this.HandleImg
...
this.Button
...
Extensions of ngControl definition.
Close