Top Method Summary
Options Name Purpose
Consultingwerk.Windows.Framework.Repository.Rendering.IViewerComponentRenderingService GetRenderingService (character) Returns the Rendering service instance
RegisterValidationRules (SmartViewerControl, Control, handle) Registers the ValidationRules1 to ValidationRules5 of a field with the viewer
RenderControl (SmartViewerControl, Control, ITabFolderParent, IContainer, handle, handle, BindingSource) Renders a Controls of the Viewer
RenderControls (SmartViewerControl, Control, ITabFolderParent, IContainer, handle, character, character, BindingSource) Renders the Controls of the Viewer recursively


Method Detail
Top

Consultingwerk.Windows.Framework.Repository.Rendering.IViewerComponentRenderingService GetRenderingService (character)

Purpose: Returns the Rendering service instance
Notes:

Parameters:
pcClassName CHARACTER
The RenderingClassName attribute value
Returns Consultingwerk.Windows.Framework.Repository.Rendering.IViewerComponentRenderingService
The reference to the rendering service instance
Top

RegisterValidationRules (SmartViewerControl, Control, handle)

Purpose: Registers the ValidationRules1 to ValidationRules5 of a field with
the viewer
Notes: SCL-6185. Each non empty ValidationRulesN attribute becomes a
ViewerFieldValidationRule with the (translated) message of the
ValidationMessageN attribute. A rule without a message falls back
to the SmartMessage SFR:68 - The value of "&1" is not valid. - with
the label of the field

Parameters:
poViewer Consultingwerk.SmartComponents.Base.SmartViewerControl
The reference to the viewer containing the field
poControl System.Windows.Forms.Control
The reference to the field (editor control)
phAttributes HANDLE
The handle of the buffer with the attributes for the field
Top

RenderControl (SmartViewerControl, Control, ITabFolderParent, IContainer, handle, handle, BindingSource)

Purpose: Renders a Controls of the Viewer
Notes:

Parameters:
poViewer Consultingwerk.SmartComponents.Base.SmartViewerControl
The reference to the SmartViewerControl
poContainer System.Windows.Forms.Control
The current container
poTabFolderParent Consultingwerk.Windows.Framework.Repository.Rendering.ITabFolderParent
The reference to the DynamicForm or DynamicControlGroup being rendered
poComponents System.ComponentModel.IContainer
The reference to the Component Container
phInstanceBuffer HANDLE
The handle of the buffer with the instance details
phAttributes HANDLE
The handle of the buffer with the instance attributes
poBindingSource Progress.Data.BindingSource
The Design Time BindingSource
Top

RenderControls (SmartViewerControl, Control, ITabFolderParent, IContainer, handle, character, character, BindingSource)

Purpose: Renders the Controls of the Viewer recursively
Notes:

Parameters:
poViewer Consultingwerk.SmartComponents.Base.SmartViewerControl
The reference to the SmartViewerControl
poContainer System.Windows.Forms.Control
The current container
poTabFolderParent Consultingwerk.Windows.Framework.Repository.Rendering.ITabFolderParent
The reference to the DynamicForm or DynamicControlGroup being rendered
poComponents System.ComponentModel.IContainer
The reference to the Component Container
phRepositoryData HANDLE
The dataset with the repository data
pcViewerMasterGuid CHARACTER
The ObjectMasterGuid of the viewer
pcParentInstanceGuid CHARACTER
The ObjectMasterGuid of the current container (e.g. GroupBox)
poBindingSource Progress.Data.BindingSource
The Design Time BindingSource


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2026 08:19:37