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
System.Windows.Forms.Form FindForm () Finds the form associated with the control
HANDLE GetScreenValuesDataset () Returns a ProDataset with the current screen values
System.Windows.Forms.Control GetViewerField (character) Retrieves the control associated with the field
HandleUiControl (UiControl, handle, Object) 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
StoreFieldStatus (handle) Stores the status of the fields
TableIoAction (TableIoUiAction, Object) Handles TableIoUiActions

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
Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl SmartToolbarControl


Method Detail
Top

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

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

System.Windows.Forms.Form FindForm ()

Purpose: Finds the form associated with the control
Notes:

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

HANDLE GetScreenValuesDataset ()

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

Returns HANDLE
The handle of the ProDataset
Top

System.Windows.Forms.Control 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

HandleUiControl (UiControl, handle, Object)

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
sender Progress.Lang.Object
The sender of the event
Top

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

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

StoreFieldStatus (handle)

Purpose: Stores the status of the fields
Notes:

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

TableIoAction (TableIoUiAction, Object)

Purpose: Handles TableIoUiActions
Notes:

Parameters:
poUiAction Consultingwerk.CommonUi.TableIoUiAction
The TableIoUiAction to handle
sender Progress.Lang.Object
The sender of the event


Constructor Detail
Top

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

Consultingwerk.SmartComponents.Interfaces.ISmartDataSource SmartDataSource


Returns Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
Top

Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl SmartToolbarControl


Returns Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:23:20