Namespace: Consultingwerk.WindowIntegrationKit
Class 
AblWindowResizingManager Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:AblWindowResizingManager
Purpose:Provides Anchoring to ABL widgets relatively to an
Anchor Point. Widgets outside that anchor will be resized
or moved depending on which side of the Widget is kept
within the anchor or outside
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Jun 22 13:33:01 CEST 2012



Top Method Summary
Options Name Purpose
+ InitializeFrameForResizing (handle, integer, integer) Registers a frame for resizing
+ ResizeWindow () Resizes the contents of the ABL window widgets to the current dimensions of the Window

Top Constructor Summary
Options Name Purpose
+ AblWindowResizingManager (handle) Constructor for the AblWindowResizingManager class

Top Property Summary
Options Name Purpose
+ INTEGER CurrentWindowHeightPixels Returns the current height in pixels of the managed ABL Window widget
+ INTEGER CurrentWindowWidthPixels Returns the current width in pixels of the managed ABL Window widget
+ LOGICAL IgnoreNestedFrames Gets and sets if nested frames should be ignored during resizing the parent frame
+ INTEGER IgnorePixelsFromTop Gets and sets the number of Pixels from the top that Widgets contained within (widget:Y <= IgnorePixelsFromTop) should ignored while resizing
+ HANDLE WindowHandle Returns the reference to the managed window


Method Detail
Top

PUBLIC InitializeFrameForResizing (handle, integer, integer)

Purpose: Registers a frame for resizing
Notes: Parameters include the location of an anchor point.
Widgets with the top left corner outside an rectangle defined by
this anchor and the top left corner of the window will be moved to
the right or bottom during resizing operations.

Parameters:
phFrame HANDLE
The frame handle to register for resiging
piAnchorX INTEGER
The X coordinate of the anchor
piAnchorY INTEGER
The Y coordinate of the anchor
Top

PUBLIC ResizeWindow ()

Purpose: Resizes the contents of the ABL window widgets to the current
dimensions of the Window
Notes: Typically invoked during the WINDOW-RESIZED trigger of the ABL
window widget



Constructor Detail
Top

PUBLIC AblWindowResizingManager (handle)

Purpose: Constructor for the AblWindowResizingManager class
Notes:

Parameters:
phWindow HANDLE
The handle of the Window widget to manage


Property Detail
Top

PUBLIC INTEGER CurrentWindowHeightPixels

Purpose: Returns the current height in pixels of the managed ABL Window widget
Notes: Used to determine the delta during resizing operations

Returns INTEGER
Top

PUBLIC INTEGER CurrentWindowWidthPixels

Purpose: Returns the current width in pixels of the managed ABL Window widget
Notes: Used to determine the delta during resizing operations

Returns INTEGER
Top

PUBLIC LOGICAL IgnoreNestedFrames

Purpose: Gets and sets if nested frames should be ignored during resizing the
parent frame
Notes: Used when nested Frames are resize by themselves

Returns LOGICAL
Top

PUBLIC INTEGER IgnorePixelsFromTop

Purpose: Gets and sets the number of Pixels from the top that Widgets
contained within (widget:Y <= IgnorePixelsFromTop) should
ignored while resizing
Notes:

Returns INTEGER
Top

PUBLIC HANDLE WindowHandle

Purpose: Returns the reference to the managed window
Notes:

Returns HANDLE


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:47:06