Top Method Summary
Options Name Purpose
# ActivateTabFolderPage (ActivateTabFolderPageUiAction) Activates a tab folder page
Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
# 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
Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
# EnableToolbarButton (EnableToolbarButtonUiAction) Handles EnableToolbarButtonUiActions
Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
# System.Windows.Forms.Form FindForm () Finds the form associated with the control
Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:FindForm ()
+ HANDLE GetScreenValuesDataset () Returns a ProDataset with the current screen values
# System.Windows.Forms.Control GetViewerField (character) Retrieves the control associated with the field
Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:GetViewerField (character)
# HandleUiAction (IUiAction) Handles UiActions
Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
+ HandleUiControl (UiControl, handle) Returns a ProDataset with the current screen values
# OpenQuery (OpenQueryUiAction) Opens a query
Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
# OpenWebPage (OpenWebPageUiAction) Opens a web page
Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
+ ResetViewerState (logical) Resets the state of the Viewer
# CHARACTER SetLabel (Control, character) Sets the label of a control
+ ShowMessages (ListValidationMessage) Shows the messages
Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
+ ShowQuestions (ListQuestion) Shows the questions
Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
+ StoreFieldStatus (handle) Stores the status of the fields
# TableIoAction (TableIoUiAction) Handles TableIoUiActions
Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:TableIoAction (TableIoUiAction)

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

Top Property Summary
Options Name Purpose
# Consultingwerk.SmartComponents.Interfaces.ISmartDataSource SmartDataSource
Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:SmartDataSource
# Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl SmartToolbarControl
Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:SmartToolbarControl


Method Detail
Top

PROTECTED ActivateTabFolderPage (ActivateTabFolderPageUiAction)

Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
Purpose: Activates a tab folder page
Notes:

Parameters:
poUiAction Consultingwerk.CommonUi.ActivateTabFolderPageUiAction
The ActivateTabFolderPageUiAction with information about the tab folder page
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)

Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
Purpose: Executes the method referenced by the MethodCallParameter instance
Notes:

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

PROTECTED EnableToolbarButton (EnableToolbarButtonUiAction)

Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
Purpose: Handles EnableToolbarButtonUiActions
Notes:

Parameters:
poUiAction Consultingwerk.CommonUi.EnableToolbarButtonUiAction
The EnableToolbarButtonUiAction to handle
Top

PROTECTED System.Windows.Forms.Form FindForm ()

Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:FindForm ()
Purpose: Finds the form associated with the control
Notes:

Returns System.Windows.Forms.Form
The form associated with the control
Top

PUBLIC HANDLE GetScreenValuesDataset ()

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

Returns HANDLE
The handle of the ProDataset
Top

PROTECTED System.Windows.Forms.Control GetViewerField (character)

Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:GetViewerField (character)
Purpose: Retrieves the control associated with the field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns System.Windows.Forms.Control
The control associated with the field
Top

PROTECTED HandleUiAction (IUiAction)

Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
Purpose: Handles UiActions
Notes:

Parameters:
poUiAction Consultingwerk.CommonUi.IUiAction
The UiAction to handle
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

PROTECTED OpenQuery (OpenQueryUiAction)

Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
Purpose: Opens a query
Notes:

Parameters:
poUiAction Consultingwerk.CommonUi.OpenQueryUiAction
The OpenQueryUiAction with information about the datasource and query
Top

PROTECTED OpenWebPage (OpenWebPageUiAction)

Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
Purpose: Opens a web page
Notes:

Parameters:
poUiAction Consultingwerk.CommonUi.OpenWebPageUiAction
The OpenWebPageUiAction with information about the web page
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)

Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
Purpose: Shows the messages
Notes: Applies focus to the first field referenced in a message

Parameters:
poMessages ListValidationMessage
The list of messages
Top

PUBLIC ShowQuestions (ListQuestion)

Inherited from Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase
Purpose: Shows the questions
Notes:

Parameters:
poQuestions ListQuestion
The list of questions
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
Top

PROTECTED TableIoAction (TableIoUiAction)

Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:TableIoAction (TableIoUiAction)
Purpose: Handles TableIoUiActions
Notes:

Parameters:
poUiAction Consultingwerk.CommonUi.TableIoUiAction
The TableIoUiAction to handle


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


Property Detail
Top

PROTECTED Consultingwerk.SmartComponents.Interfaces.ISmartDataSource SmartDataSource

Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:SmartDataSource

Returns Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
Top

PROTECTED Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl SmartToolbarControl

Overrides Consultingwerk.SmartComponents.Base.SmartUiControlHandlerBase:SmartToolbarControl

Returns Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl


©2006-2025 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       21.07.2025 10:23:55