Top Method Summary
Options Name Purpose
CHARACTER AttributeValue (handle, character) Returns the value of the given attribute from the attributes buffer
LOGICAL IsLayoutComponent (handle, handle) Returns if the rendered component is a Layout component
System.ComponentModel.IComponent RenderComponent (SmartViewerControl, Control, ITabFolderParent, IContainer, handle, handle, BindingSource) Renders a MetaTreeView component on a dynamic viewer
System.ComponentModel.IComponent RenderComponent (Control, IContainer, ITabFolderParent, handle, handle) Renders a MetaTreeView component on a dynamic form


Method Detail
Top

CHARACTER AttributeValue (handle, character)

Purpose: Returns the value of the given attribute from the attributes
buffer
Notes: Returns an empty character value when the attribute is not
part of the buffer (e.g. not yet registered for the object
type) or has the unknown value, so the rendering does not
depend on the registration state of the optional attributes

Parameters:
phAttributesBuffer HANDLE
The handle of the buffer describing the object attributes
pcAttributeName CHARACTER
The name of the attribute to return the value of
Returns CHARACTER
The attribute value or an empty character value
Top

LOGICAL IsLayoutComponent (handle, handle)

Purpose: Returns if the rendered component is a Layout component
Notes: Components such as the Ribbon do not require a location on
that layout

Parameters:
phInstanceBuffer HANDLE
The handle of the buffer describing the object instance
phAttributesBuffer HANDLE
The handle of the buffer describing the object attributes
Returns LOGICAL
Logical value indicating if the component requires a location on the layout
Top

System.ComponentModel.IComponent RenderComponent (SmartViewerControl, Control, ITabFolderParent, IContainer, handle, handle, BindingSource)

Purpose: Renders a MetaTreeView component on a dynamic viewer
Notes: SCL-5705. The DynamicTreeViewControl is created at the location
and size of the instance and populated with the root nodes of
the configured Root Node Type once the control has been loaded.
When the RootNodeFilterFields attribute names fields of the
viewer's data source, the root node filter is rebuilt from the
viewer's current record on every record navigation (see
TreeViewViewerBindingHandler). The NodeClick / NodeDoubleClick
attributes subscribe client-side (Logic Object) or server-side
(SSEH) event handlers

Parameters:
poViewer Consultingwerk.SmartComponents.Base.SmartViewerControl
The reference to the SmartViewerControl
poContainer System.Windows.Forms.Control
The reference to the current Container Control
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 describing the object instance
phAttributesBuffer HANDLE
The handle of the buffer describing the object attributes
poBindingSource Progress.Data.BindingSource
The Design Time BindingSource
Returns System.ComponentModel.IComponent
The reference to the System.ComponentModel.IComponent that has been created
Top

System.ComponentModel.IComponent RenderComponent (Control, IContainer, ITabFolderParent, handle, handle)

Purpose: Renders a MetaTreeView component on a dynamic form
Notes: The DynamicTreeViewControl is created, docked into the container
and populated with the root nodes of the configured Root Node Code.
The matching ISmartTreeNodeProvider is expected to be registered by
the application.

Parameters:
poContainer System.Windows.Forms.Control
The reference to the current Container Control
poComponents System.ComponentModel.IContainer
The reference to the Component Container
poTabFolderParent Consultingwerk.Windows.Framework.Repository.Rendering.ITabFolderParent
The reference to the DynamicForm or DynamicControlGroup being rendered
phInstanceBuffer HANDLE
The handle of the buffer describing the object instance
phAttributesBuffer HANDLE
The handle of the buffer describing the object attributes
Returns System.ComponentModel.IComponent
The reference to the System.ComponentModel.IComponent that has been created


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:22:50