Top Method Summary
Options Name Purpose
- EnabledChangedHandler (Object, EventArgs) Event handler for the EnabledChanged event of the .NET Control
+ Consultingwerk.Windows.LegacyGuiMigration.Widgets.IWidgetFacade FromControl (Control) Returns the IWidget reference for a given .NET Control
# CHARACTER GetFORMAT () GET method for the FORMAT property
# LOGICAL GetHIDDEN () GET method for the HIDDEN property
# CHARACTER GetSCREEN-VALUE () GET method for the SCREEN-VALUE property
# LOGICAL GetSENSITIVE () GET method for the SENSITIVE property
# LOGICAL GetVISIBLE () GET method for the VISIBLE property
# SetFORMAT (character) SET method for the FORMAT property
# SetHIDDEN (logical) SET method for the HIDDEN property
# SetSCREEN-VALUE (character) SET method for the SCREEN-VALUE property
# SetSENSITIVE (logical) SET method for the SENSITIVE property
# SetVISIBLE (logical) SET method for the VISIBLE property

Top Constructor Summary
Options Name Purpose
# WidgetFacade (Control) Constructor for the WidgetFacade class

Top Property Summary
Options Name Purpose
+ System.Windows.Forms.Control Control Returns the reference to the Control this instance represents
+ A CHARACTER DATA-TYPE A character value that represents the data type of the field associated with the widget
+ CHARACTER FORMAT The text format of a widget or browse-cell
+ LOGICAL HIDDEN Indicates whether to "hide" a widget
+ LOGICAL MODIFIED Indicates whether the value of the SCREEN-VALUE attribute for the widget has changed
+ CHARACTER NAME A string identifier for the specified object or widget
+ CHARACTER PRIVATE-DATA An arbitrary string associated with the handle of an object or widget
+ CHARACTER SCREEN-VALUE The data value in the screen buffer associated with the widget
+ LOGICAL SENSITIVE Indicates whether a widget can receive input focus or events
+ A CHARACTER TYPE The type of a handle
+ LOGICAL VISIBLE Indicates whether a widget is currently visible on the display


Method Detail
Top

PRIVATE EnabledChangedHandler (Object, EventArgs)

Purpose: Event handler for the EnabledChanged event of the .NET Control
Notes: Resets the MODIFIFED Attribute when Enabled = TRUE

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

PUBLIC Consultingwerk.Windows.LegacyGuiMigration.Widgets.IWidgetFacade FromControl (Control)

Purpose: Returns the IWidget reference for a given .NET Control
Notes: Factory method.
Throws UnsupportedControlTypeException when Controls can not be mapped
to an WidgetFacade instance

Parameters:
poControl System.Windows.Forms.Control
The .NET Control to return the Widget reference for
Returns Consultingwerk.Windows.LegacyGuiMigration.Widgets.IWidgetFacade
The reference to the IWidget representing the .NET Control
Top

PROTECTED CHARACTER GetFORMAT ()

Purpose: GET method for the FORMAT property
Notes:

Returns CHARACTER
Character value indicating the FORMAT Value
Top

PROTECTED LOGICAL GetHIDDEN ()

Purpose: GET method for the HIDDEN property
Notes:

Returns LOGICAL
Logical value indicating the HIDDEN Value
Top

PROTECTED CHARACTER GetSCREEN-VALUE ()

Purpose: GET method for the SCREEN-VALUE property
Notes:

Returns CHARACTER
Character value indicating the SCREEN-VALUE Value
Top

PROTECTED LOGICAL GetSENSITIVE ()

Purpose: GET method for the SENSITIVE property
Notes:

Returns LOGICAL
Logical value indicating the SENSITIVE Value
Top

PROTECTED LOGICAL GetVISIBLE ()

Purpose: GET method for the VISIBLE property
Notes:

Returns LOGICAL
Logical value indicating the VISIBLE Value
Top

PROTECTED SetFORMAT (character)

Purpose: SET method for the FORMAT property
Notes:

Parameters:
pcValue CHARACTER
The new value for the the FORMAT property
Top

PROTECTED SetHIDDEN (logical)

Purpose: SET method for the HIDDEN property
Notes:

Parameters:
plValue LOGICAL
The new value for the the HIDDEN property
Top

PROTECTED SetSCREEN-VALUE (character)

Purpose: SET method for the SCREEN-VALUE property
Notes:

Parameters:
pcValue CHARACTER
The new value for the the SCREEN-VALUE property
Top

PROTECTED SetSENSITIVE (logical)

Purpose: SET method for the SENSITIVE property
Notes:

Parameters:
plValue LOGICAL
The new value for the the SENSITIVE property
Top

PROTECTED SetVISIBLE (logical)

Purpose: SET method for the VISIBLE property
Notes:

Parameters:
plValue LOGICAL
The new value for the the VISIBLE property


Constructor Detail
Top

PROTECTED WidgetFacade (Control)

Purpose: Constructor for the WidgetFacade class
Notes:

Parameters:
poControl System.Windows.Forms.Control
The reference to the UltraTextEditor this instance should represent


Property Detail
Top

PUBLIC System.Windows.Forms.Control Control

Purpose: Returns the reference to the Control this instance represents
Notes:

Returns System.Windows.Forms.Control
Top

PUBLIC CHARACTER DATA-TYPE

Purpose: A character value that represents the data type of the field
associated with the widget
Notes: For example, the DATA-TYPE attribute of a slider widget always
returns the value "INTEGER" because slider widgets can only
represent integer values

Returns CHARACTER
Top

PUBLIC CHARACTER FORMAT

Purpose: The text format of a widget or browse-cell
Notes:

Returns CHARACTER
Top

PUBLIC LOGICAL HIDDEN

Purpose: Indicates whether to "hide" a widget
Notes:

Returns LOGICAL
Top

PUBLIC LOGICAL MODIFIED

Purpose: Indicates whether the value of the SCREEN-VALUE attribute for the
widget has changed
Notes: For all widgets, the MODIFIED attribute is set to TRUE when the
SCREEN-VALUE attribute for the widget is changed, whether or not
the field is enabled. For all widgets except the editor widget,
the MODIFIED attribute is set to TRUE if the SCREEN-VALUE attribute
for the widget is changed using an ABL statement, such as assignment
or DISPLAY. DISPLAY sets MODIFIED to TRUE only when the field is
enabled. You can then reset the attribute to FALSE for each widget
that can receive input focus or otherwise change value after it is
initially displayed.
For editors, the successful execution of either the SAVE-FILE( ) or
the READ-FILE( ) methods sets the MODIFIED attribute to FALSE.
For browses, if any browse cell changes, the AVM sets MODIFIED to
TRUE. The application can reset MODIFIED to FALSE as necessary. If
the query associated with a browse is reopened, the AVM resets MODIFIED
to FALSE.
You can use the SENSITIVE attribute to reset the MODIFIED attribute.
For example, when the screen-value of a fill-in field is changed,
MODIFIED is set to TRUE. If you then set SENSITIVE to FALSE and then
to TRUE, you enable the fill-in for further input and the MODIFIED
attribute is reset to FALSE.

Returns LOGICAL
Top

PUBLIC CHARACTER NAME

Purpose: A string identifier for the specified object or widget
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER PRIVATE-DATA

Purpose: An arbitrary string associated with the handle of an object or widget
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER SCREEN-VALUE

Purpose: The data value in the screen buffer associated with the widget
Notes:

Returns CHARACTER
Top

PUBLIC LOGICAL SENSITIVE

Purpose: Indicates whether a widget can receive input focus or events
Notes:

Returns LOGICAL
Top

PUBLIC CHARACTER TYPE

Purpose: The type of a handle
Notes:

Returns CHARACTER
Top

PUBLIC LOGICAL VISIBLE

Purpose: Indicates whether a widget is currently visible on the display
Notes:

Returns LOGICAL


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