Top Method Summary
Options Name Purpose
# AfterCancelledUpdateHandler (Object, AfterCancelledUpdateEventArgs) Event handler for the AfterCancelledUpdate event of the SmartViewerControl
# AfterSaveChangesHandler (Object, EventArgs) Event handler for the AfterSaveChanges event of the SmartViewerControl
+ CallMethod (MethodCallParameter) Executes the method referenced by the MethodCallParameter instance
+ HANDLE GetScreenValuesDataset () Returns a ProDataset with the current screen values
+ HandleUiControl (UiControl, handle) Returns a ProDataset with the current screen values
+ ResetViewerState (logical) Resets the state of the Viewer
# CHARACTER SetLabel (Control, character) Sets the label of a control
+ ShowMessages (ListValidationMessage) Shows the messages
+ StoreFieldStatus (handle) Stores the status of the fields

Top Constructor Summary
Options Name Purpose
+ SmartViewerUiControlHandler (SmartViewerControl, handle) Constructor for the SmartViewerUiControlHandler class


Method Detail
Top

PROTECTED AfterCancelledUpdateHandler (Object, AfterCancelledUpdateEventArgs)

Purpose: Event handler for the AfterCancelledUpdate event of the SmartViewerControl
Notes: Resets the viewers state

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

PROTECTED AfterSaveChangesHandler (Object, EventArgs)

Purpose: Event handler for the AfterSaveChanges event of the SmartViewerControl
Notes: Resets the viewers state

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 CallMethod (MethodCallParameter)

Purpose: Executes the method referenced by the MethodCallParameter instance
Notes:

Parameters:
poMethodCallParameter Consultingwerk.CommonUi.MethodCallParameter
The reference to the MethodCallParameter instance
Top

PUBLIC HANDLE GetScreenValuesDataset ()

Purpose: Returns a ProDataset with the current screen values
Notes:

Returns HANDLE
The handle of the ProDataset
Top

PUBLIC HandleUiControl (UiControl, handle)

Purpose: Returns a ProDataset with the current screen values
Notes:

Parameters:
poUiControl Consultingwerk.CommonUi.UiControl
The reference to the UiControl instance to process
phDataset HANDLE
The handle of the ProDataset with the screen values
Top

PUBLIC ResetViewerState (logical)

Purpose: Resets the state of the Viewer
Notes: SetControlEnabled, StyleSetName

Parameters:
plLoadEvent LOGICAL
Logical value indicating if we're called from the Load event
Top

PROTECTED CHARACTER SetLabel (Control, character)

Purpose: Sets the label of a control
Notes:

Parameters:
poControl System.Windows.Forms.Control
The control
pcLabel CHARACTER
The label
Returns CHARACTER
The original (previous) label
Top

PUBLIC ShowMessages (ListValidationMessage)

Purpose: Shows the messages
Notes: Applies focus to the first field referenced in a message

Parameters:
poMessages Consultingwerk.OERA.ValidationMessages.ListValidationMessage
The list of messages
Top

PUBLIC StoreFieldStatus (handle)

Purpose: Stores the status of the fields
Notes:

Parameters:
phEnableFields HANDLE
The handle of the buffer of the ttEnableFields temp-table


Constructor Detail
Top

PUBLIC SmartViewerUiControlHandler (SmartViewerControl, handle)

Purpose: Constructor for the SmartViewerUiControlHandler class
Notes:

Parameters:
poViewer Consultingwerk.SmartComponents.Base.SmartViewerControl
The reference to the SmartViewerControl instance
phEnableFields HANDLE
The handle of the buffer of the ttEnableFields temp-table


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:01:17