Top Method Summary
Options Name Purpose
GetDataset (dataset-handle) Returns the handle of the ProDataset handled by this server-side event handler
Consultingwerk.CommonUi.UiControl HandleAfterEnableFields (dataset, IAfterFieldsEnabledEventHandlerParameter) Handles the AfterFieldsEnabled event of the Object Type viewer
Consultingwerk.CommonUi.UiControl HandleContainerTypeChanged (dataset, IValueChangedEventHandlerParameter) Handles the ValueChanged event of the ContainerType check editor
VerifyStoreInstances (UiControl) Sets the enable state of the StoreInstances field based on the ContainerType flag of the current eSmartObjectType record


Method Detail
Top

GetDataset (dataset-handle)

Purpose: Returns the handle of the ProDataset handled by this
server-side event handler
Notes: Required by the SmartComponent Library SSEH infrastructure

Parameters:
phDataset DATASET-HANDLE
The OUTPUT dataset-handle of the dsObjectType ProDataset
Top

Consultingwerk.CommonUi.UiControl HandleAfterEnableFields (dataset, IAfterFieldsEnabledEventHandlerParameter)

Purpose: Handles the AfterFieldsEnabled event of the Object Type viewer
Notes: Fires on Add / Update / Copy. Enables the StoreInstances field
only when the record is flagged as a Container type.

Parameters:
dsObjectType DATASET dsObjectType
The INPUT-OUTPUT dsObjectType ProDataset with the screen values
poEventArgs Consultingwerk.CommonUi.IAfterFieldsEnabledEventHandlerParameter
The IAfterFieldsEnabledEventHandlerParameter for this event
Returns Consultingwerk.CommonUi.UiControl
The UiControl carrying the field enable instruction
Top

Consultingwerk.CommonUi.UiControl HandleContainerTypeChanged (dataset, IValueChangedEventHandlerParameter)

Purpose: Handles the ValueChanged event of the ContainerType check editor
Notes: Fires when the user toggles the Container flag while editing,
re-evaluating the enable state of the StoreInstances field in
real time.

Parameters:
dsObjectType DATASET dsObjectType
The INPUT-OUTPUT dsObjectType ProDataset with the screen values
poEventArgs Consultingwerk.CommonUi.IValueChangedEventHandlerParameter
The IValueChangedEventHandlerParameter for this event
Returns Consultingwerk.CommonUi.UiControl
The UiControl carrying the field enable instruction
Top

VerifyStoreInstances (UiControl)

Purpose: Sets the enable state of the StoreInstances field based on the
ContainerType flag of the current eSmartObjectType record
Notes: Mirrors SmartObjectTypeViewerControl:VerifyStoreInstances -
enabled for update when ContainerType is set, otherwise disabled.

Parameters:
poUiControl Consultingwerk.CommonUi.UiControl
The UiControl to which the FieldControl instruction is added


ProDataset Detail

ProDataset dsObjectType

Member tables: eSmartObjectType


Temp-Table Detail

Temp-Table eSmartObjectType

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       06.07.2026 14:30:36