Namespace: Consultingwerk.BusinessEntityDesigner.UI
Class 
IndexViewerControl Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartViewerControl
Implements: Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget, Consultingwerk.SmartComponents.Interfaces.Design.IDesignGroupAssignSource, Consultingwerk.SmartComponents.Interfaces.Design.IDesignToolbarTarget, Consultingwerk.SmartComponents.Interfaces.Design.IDesignViewerControl, Consultingwerk.SmartComponents.Interfaces.ISmartViewerControl, Consultingwerk.SmartComponents.Base.IAlwaysEnabledControl, ICheckOkToClose, IHasDesignerVerbs, ISaveChangesOnDeactivateForm, ISmartDataTarget, ISmartGroupAssignSource, ISmartGroupAssignTarget, ISmartTableIOTarget, ISmartToolbarTarget, ISupportInitialize

File:IndexViewerControl
Purpose:Viewer Control for the eIndex Table
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Oct 23 21:09:05 CEST 2010



Top Method Summary
Options Name Purpose
# ActivateCurrentGridRow () Activates the current row in the linked Grid
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ ActivateEventHandler () Activates the Event Handlers for the contained controls
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AddRecord () Add a new record to the SmartDataSource. The Method CreateRecord of SmartViewerControl gets called to Handle this Task. This Method is called by the Toolbar Classes SmartToolbarController or SmartToolStripContainer by pressing the AddRecord Tool. Enforced by Interface ISmartDataTarget.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AddSmartTableIOSource (ISmartTableIOSource) Adds a(nother) SmartTableIOSource to the SmartViewerControl instance
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# System.Windows.Forms.Control ApplyFocusToErrorField (character) Set's focus into a field that is related to an error
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# System.Windows.Forms.Control ApplyFocusToErrorField (IFieldValidationError) Set's focus into a field that is related to an error
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AttachBindingSource (BindingSource) This Method attaches a new BindingSource given as the Parameter poBindingSource to the Objects of the current Class. The new BindingSource may have been created by a DataAdapter or reused from a SmartBrowserControl
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ BeginInit () Invoked at the beginning of a Containers InitializeComponents method
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# BeginUpdateStateHandler (Object, DataSourceUpdateStateEventArgs) Event handler for the BeginUpdateState event of the data source
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# BindingSourcePositionChanged (Object, EventArgs) Event handler for the PositionChanged event of the BindingSource this Viewer is attached to
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CancelUpdate () Reverts the changes to the current record.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CleanupLookupControls () Destroys the Controls in the Viewer Control
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# LOGICAL ControlFocus (Control) Calls the Focus() method for a .NET Control
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CopyRecord () Copy the current record to a new one. The Method CreateRecord of SmartViewerControl gets called to Handle this Task. This Method is called by the Toolbar Classes SmartToolbarController or SmartToolStripContainer by pressing the corresponding Tool. Enforced by Interface ISmartDataTarget.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# CreateRecord (logical) Creates a new record in the viewer. This Method is called by AddRecord and CopyRecord from the current Class but may be overridden.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CustomInitializeControlHandler (Control) Overridable method that can be used to perform custom event subscriptions
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ DeactivateEventHandler () Deactivates the Event Handlers for the contained controls
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ DeleteRecord () Delete the current record.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ DeregisterSmartGroupAssignTarget (ISmartGroupAssignTarget) Deregister a SmartDataTarget with the SmartGroupAssignTarget Enforced by Interface ISmartGroupAssignSource.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ DisableFields () Disable all enabled controls of the SmartViewerControl. This Method is called from inside the SmartViewerControl. Enforced by Interface ISmartDataTarget or ISmartGroupAssignTarget.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# DisplayError (Error) Display ErrorMessages shows a predefined Error Dialog and is called from the Method SaveChanges () of the SmartViewerControl Class.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# DisplayError (Error, logical) Display ErrorMessages shows a predefined Error Dialog and is called from the Method SaveChanges () of the SmartViewerControl Class.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# EditorDropDownAfterCloseUpHandler (Object, EventArgs) Event handler for the AfterCloseUp event of an UltraDateTimeEditor. Clears the reference to the currently opened DataTime popup editor in the variable oEditorDropDownControl
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# EditorDropDownAfterDropDownHandler (Object, EventArgs) Event handler for the AfterDropDown event of an UltraDateTimeEditor. Stores a reference to the currently opened DataTime popup editor in the variable oEditorDropDownControl Required to be able to start the update process in the method TextChangedHandler (in this class)
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ EnableFields (character) Enables controls of the SmartViewerControl
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ EnableFields (character, logical) Enables controls of the SmartViewerControl
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ EndInit () Invoked at the end of a Containers InitializeComponents method
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# EndUpdateStateHandler (Object, DataSourceUpdateStateEventArgs) Event handler for the EndUpdateState event of the data source
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ EnsureVisible () Ensures that this SmartViewerControl is visible
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ EvaluateTableIOState () This Method sets the Property SmartTableIOState to a value according to the SmartDataSources state of the current class. Possible values for SmartTableIOState are defined in the TableIOStateEnum.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# FillBoundControlTable (Control) Populates the ttViewerBoundControls temp-table
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ Progress.Data.BindingSource FindDesignTimeBindingSource () Attempts to locate the BindingSource that was used in a SmartViewerControl at Design Time
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL FocusFirstEnabledEditorControl (Control) Focusses the first enabled EditorControl of the given Container Control
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# FormActivatedHandler (Object, EventArgs) Event handler for the Activate event of the owning Form
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# FormClosedHandler (Object, EventArgs) Handles the FormClosed event of the containing Form
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# FormDeactivatedHandler (Object, EventArgs) Event handler for the Deactivate event of the owning Form
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ System.Windows.Forms.Control GetBoundControl (character) Returns the reference to the Control that is bound to the named field of the binding source
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ System.Collections.Generic.List <System.Windows.Forms.Control> GetBoundControls (character) Returns the list of Controls that is bound to the named field of the binding source
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ GetBoundControlTable (table) Populates a temp-table with information about all bound controls in the SmartViewerControl
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CHARACTER GetControlEnabled (Control) Returns the Enable mode for a Control from the list of Controls that will be enabled and disabled by the Viewer based on the current Viewer state @param poControl The Control for which the Enable mode should be returned @return The CHARACTER value representing the Control Enabled mode */
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CHARACTER GetControlSecurityEnabled (Control) Returns the security Enable mode for a Control from the list of Controls that will be enabled and disabled by the Viewer based on the current Viewer state @param poControl The Control for which the Enable mode should be returned @return The CHARACTER value representing the security Control Enabled mode */
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ HANDLE GetScreenValuesDataset () Returns a ProDataset with the current screen values
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ System.Windows.Forms.Control GetViewerField (character) Returns the reference to a Control in the Viewer identified by the Controls Name. This Method starts a recursive search for the Control.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# System.Windows.Forms.Control GetViewerField (character, Control) Recursively searches for the Control with the given name
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# ISmartGroupAssignTarget GetViewerForBoundControl (character) Returns the reference to the SmartGroupAssignTarget that contains a Control bound to the given field name
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# GroupAssignSmartTableIOStateChangedHandler (Object, SmartTableIOStateChangedEventArgs) Event handler for the SmartTableIOStateChanged event of the Group assign Source
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# HandleServerEvent (Object, EventArgs, character) Event handler for a server-side event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# HandleServerEvent (Object, EventArgs, character, character) Event handler for a server-side event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ HandleUiControl (UiControl, handle) Returns a ProDataset with the current screen values
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ HandleValidationError (Error) Handles an error raised by validation routines
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL HasBoundControl (character, logical) Returns logical value indicating if the Viewer contains a Control that is bound to the named field
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
- InitializeComponent () Initializes the Visual Design
# InitializeControlEventHandler () Subscribe the EventHandler(s) to events of all controls added to the SmartViewerControl. The RecurseInitializeControlEventHandler is used to Handle this Task. This Method is called every Time a new Control is added to the SmartViewerControl.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# InitializeViewerLogicObject () Initializes the Viewer Logic Object
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ InitializeViewerUiControlHandler () Initializes the SmartViewerUiControlHandler class
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# LOGICAL IsControlEnabled (character, character, logical) Determines if a Control should be enabled based on the SecurityEnableMode and EnableMode
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL IsEditorControl (Control) Returns TRUE is the Controls is recognized as an Editor Control
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL IsOkToClose (logical, CloseReason) Check if it is ok to close the parent form. Returns TRUE when the form can be closed. Otherwise returns FALSE. Enforced by the Interface ICheckOkToClose.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# LOGICAL IsValueChanged (Object) Returns if the current (screen-value) of a Control in the SmartViewerControl derived class has changed in comparison to the underlying buffer value
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# LeaveHandler (Object, EventArgs) Event handler for the Leave event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnAddedRecordModifiedChanged (EventArgs) Raises the AddedRecordModifiedChanged
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnAddingRecordChanged (EventArgs) Raises the AddingRecordChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnAfterAddRecord (EventArgs) Raises the AfterAddRecord event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnAfterCancelledUpdate (AfterCancelledUpdateEventArgs) Raises the AfterCancelledUpdate event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnAfterCancelUpdate (EventArgs) Raises the AfterCancelUpdate event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnAfterCopyRecord (EventArgs) Raises the AfterCopyRecord event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnAfterDeleteRecord (EventArgs) Raises the AfterDeleteRecord event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnAfterFieldsEnabled (EventArgs) Raises the AfterFieldsEnabled
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnAfterSaveChanges (EventArgs) Raises the AfterSaveChanges event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnBeforeAddRecord (CancelEventArgs) Raises the BeforeAddRecord event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnBeforeCancelUpdate (CancelEventArgs) Raises the BeforeCancelUpdate event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnBeforeCopyRecord (CancelEventArgs) Raises the BeforeCopyRecord event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnBeforeDeleteRecord (CancelEventArgs) Raises the BeforeDeleteRecord event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnBeforeEnableFields (CancelableEventArgs) Raises the BeforeEnableFields
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnBeforeSaveChanges (CancelEventArgs) Raises the BeforeSaveChanges event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnCopyingRecordChanged (EventArgs) Raises the CopyingRecordChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnCurrentChanged (EventArgs) Raises the CurrentChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnEnter (EventArgs) Raises the Enter event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnFieldsDisabled (EventArgs) Raises the FieldsDisabled event.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnFieldsEnabled (EventArgs) Raises the FieldsEnabled event.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnFocusControlOnAddChanged (EventArgs) Raises the FocusControlOnAddChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnFocusControlOnUpdateChanged (EventArgs) Raises the FocusControlOnUpdateChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnGenericEvent (EventArgs) Raises the GenericEvent
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnInitializingChanged (EventArgs) Raises the InitializingChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnLoad (EventArgs) Raises the Load event
Overrides Consultingwerk.SmartComponents.Base.SmartViewerControl:OnLoad (EventArgs)
# OnSmartDataSourceChanged (EventArgs) Publishes the SmartDataSourceChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnSmartGroupAssignSourceChanged (EventArgs) Publishes the SmartGroupAssignSourceChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnSmartTableIOSourceChanged (EventArgs) Publishes the SmartGroupAssignSourceChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# OnSmartTableIOStateChanged (SmartTableIOStateChangedEventArgs) Publishes the SmartTableIOStateChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ OnVerbClicked (character) Event Handler method for Designer Verbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# OnVisualValidating (EventArgs) Raises the VisualValidating event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# ParentChangedHandler (Object, EventArgs) Event handler to the ParentChanged event Add EventHandlers to Child Controls inside the SmartViewerControl. This Method is Executed when the SmartViewerControl is added to a Form.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# ParentFormDestroyedHandler (Object, EventArgs) Event handler for the FormDestroyed event of the owning Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ ProcessHiddenControls () Processes the registered hidden controls
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ RaiseGenericEvent (EventArgs) Raises the Generic Event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL RaiseToolbarAction (Object, ToolClickEventArgs, character) Executes a Toolbar Action
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RecurseInitializeControlEventHandler (Control) Subscribe the EventHandler(s) to events of all controls added to the SmartViewerControl. This Method is called by the Method InitializeControlEventHandler () of the SmartViewerControl.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# System.Windows.Forms.Control RecurseLocateBindingControl (Control, character) Recurses through the Controls in this SmartViewerControl and nested controls searching for a Control that is bound to the named BindingProperty (a field attached to the ProBindingSource).
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RecurseLocateBindingControls (Control, Control>, character) Recurses through the Controls in this SmartViewerControl and nested controls searching for all Controls that are bound to the named BindingProperty (a field attached to the ProBindingSource).
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RecurseLookupStopTimer (Control) Stops the current timer of all Lookups
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RecursePerformLookup (Control) Performs the Lookup operation in all contained SmartLookup Controls
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RecurseReplaceBindingSource (Control, BindingSource) Internal method to replace the data bindings of all contained Controls with the actual binding source provided by a SmartDataSource.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RecurseRestoreCurrentValues (Control) Recurse Restore the Current Values of the Controls on the Viewer after a new DataRow is created. This Method is called by the internal Method RestoreValuesForCopy (). Parameters:
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RecurseStoreCurrentValues (Control) Recurse Store the Current Values of the Controls on the Viewer before a new DataRow is created. This Method is called by the internal Method StoreValuesForCopy ().
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ RegisterHiddenControl (Control) Register a hidden control
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RegisterServerSideEventHandler (Control, character, character) Subscribes a Control to a server-side event handler
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ RegisterSmartGroupAssignTarget (ISmartGroupAssignTarget) Register a SmartDataTarget with the SmartGroupAssignTarget This Method is executed every time a new SmartGroupAssignSource is registered to the corresponding Property of a Class implementing the Interface ISmartGroupAssignSource. Enforced by Interface ISmartGroupAssignSource.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RemoveControlEnabled (Control) Removes a Control from the list of Controls that will be enabled and disabled by the Viewer based on the current Viewer state @param poControl The Control which shall be removed from the list of managed Controls */
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RemoveControlEnabled (Control, Control) Removes multiple Controls from the list of Controls that will be enabled and disabled by the Viewer based on the current Viewer state @param poControl1 The first Control which shall be removed from the list of managed Controls @param poControl2 The second Control which shall be removed from the list of managed Controls */
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RemoveControlEnabled (Control, Control, Control) Removes multiple Controls from the list of Controls that will be enabled and disabled by the Viewer based on the current Viewer state @param poControl1 The first Control which shall be removed from the list of managed Controls @param poControl2 The second Control which shall be removed from the list of managed Controls @param poControl3 The third Control which shall be removed from the list of managed Controls */
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RemoveControlEnabled (Control, Control, Control, Control) Removes multiple Controls from the list of Controls that will be enabled and disabled by the Viewer based on the current Viewer state @param poControl1 The first Control which shall be removed from the list of managed Controls @param poControl2 The second Control which shall be removed from the list of managed Controls @param poControl3 The third Control which shall be removed from the list of managed Controls @param poControl4 The fourth Control which shall be removed from the list of managed Controls */
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# RemoveControlEnabled (Control, Control, Control, Control, Control) Removes multiple Controls from the list of Controls that will be enabled and disabled by the Viewer based on the current Viewer state @param poControl1 The first Control which shall be removed from the list of managed Controls @param poControl2 The second Control which shall be removed from the list of managed Controls @param poControl3 The third Control which shall be removed from the list of managed Controls @param poControl4 The fourth Control which shall be removed from the list of managed Controls @param poControl5 The fifth Control which shall be removed from the list of managed Controls */
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ RemoveSmartTableIOSource (ISmartTableIOSource) Removes a SmartTableIOSource from the SmartDataAdapter instance
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ ResetViewerState (logical) Resets the state of the Viewer
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ RestoreValuesForCopy () Restore the Current Values of all Controls on a SmartViewerControl and in all SmartGroupAssignTargets. This Method is called by CreateRecord from the current Class. Enforced by Interface ISmartGroupAssignTarget.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SaveChanges () Saves the current changes to the database.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL SaveChangesOnDeactivateForm (logical) Saves pending changes when a Form is deactivated
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ ServerSideCurrentChangedHandler (Object, EventArgs) Event handler for CurrentChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SetControlEnabled (character, character) Sets the Enable Mode for the given Controls inside the SmartViewerControl
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SetControlEnabled (Control, character) Sets the Enable Mode for a given Control inside the SmartViewerControl. Called by the Method InitializeControlEventHandler () of a SmartViewerControl derived Class.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SetControlEnabled (Control, Control, character) Sets the Enable Mode for two given Controls inside the SmartViewerControl. Called by the Method InitializeControlEventHandler () of a SmartViewerControl derived Class.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SetControlEnabled (Control, Control, Control, character) Sets the Enable Mode for three given Controls inside the SmartViewerControl. Called by the Method InitializeControlEventHandler () of a SmartViewerControl derived Class.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SetControlEnabled (Control, Control, Control, Control, character) Sets the Enable Mode for four given Controls inside the SmartViewerControl. Called by the Method InitializeControlEventHandler () of a SmartViewerControl derived Class.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SetControlEnabled (Control, Control, Control, Control, Control, character) Sets the Enable Mode for five given Controls inside the SmartViewerControl. Called by the Method InitializeControlEventHandler () of a SmartViewerControl derived Class.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SetControlEnabled (Control[], character) Sets the Enable Mode for the given Controls inside the SmartViewerControl
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# SetControlEnabledFromDescriptor () Sets the ControlEnabled property of the visual controls based on the Business Entity Descriptor
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SetModifyingState () Sets the TableIOState to ModifyingData
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SetOpenedEditorDropDownControl (Control) Set's the current opened EditorDropDownControl
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
- smartBusinessEntityBindingSource1_eIndex_FieldNames_EditorButtonClick (Object, EditorButtonEventArgs) Event handler for the EditorButtonClick event of the smartBusinessEntityBindingSource1_eIndex_FieldNames Control
- smartBusinessEntityBindingSource1_eIndex_FieldNames_Leave (Object, EventArgs) Event handler for the Leave event for the Index FieldNames field
+ StoreValuesForCopy () Store the Current Values of all Controls on a SmartViewerControl and do the same in all SmartGroupAssignTargets. This Method is called by CreateRecord from the current Class. Enforced by Interface ISmartGroupAssignTarget.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SubscribeControlEventHandler (Control, character, character) Subscribes a Control to an Event Handler in the Viewer Logic Class
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SubscribeParentFormDestroyed () Subscribes the ParentFormDestroyed event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# SubscribeUserControlEvents () Allows for custom event subscriptions during OnLoad()
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ TextChangedEventHandler (Object, EventArgs) Event handler for the TextChangedEvent event of Editor Controls on the SmartViewerControl. Initiate switching to the ModifyingData Mode if the user enters data.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ VisualValidate () Validate data entered into the DataFields
Overrides Consultingwerk.SmartComponents.Base.SmartViewerControl:VisualValidate ()
+ IWidgetFacade WidgetHandle (character) Returns the WidgetFacade for the given widget
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Top Constructor Summary
Options Name Purpose
+ IndexViewerControl () Constructor for the MemberTableViewerControl class

Top Event Summary
Options Name Purpose
+ AddedRecordModifiedChanged DELEGATE System.EventHandler Raised when the value of the AddedRecordModified property changes
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AddingRecordChanged DELEGATE System.EventHandler Event fired when the AddingRecord Property is changed
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AfterAddRecord DELEGATE System.EventHandler Event fired when the viewer has successfully started an Add operation
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AfterCancelledUpdate (Object, AfterCancelledUpdateEventArgs) Event fired when the viewer has successfully cancelled an update
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AfterCancelUpdate DELEGATE System.EventHandler Event fired when the viewer has successfully cancelled an update
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AfterCopyRecord DELEGATE System.EventHandler Event fired when the viewer has successfully started a Copy operation
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AfterDeleteRecord DELEGATE System.EventHandler Event fired when the viewer has successfully deleted a record.
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AfterFieldsEnabled DELEGATE System.EventHandler Raised after the fields have been enabled
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ AfterSaveChanges DELEGATE System.EventHandler Event fired when the viewer has successfully saved changes
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ BeforeAddRecord DELEGATE System.ComponentModel.CancelEventHandler Event fired when the Viewer starts adding a new record. This event is cancelable
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ BeforeCancelUpdate DELEGATE System.ComponentModel.CancelEventHandler Event fired when the Viewer begins cancelling an update. This event is cancellable
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ BeforeCopyRecord DELEGATE System.ComponentModel.CancelEventHandler Event fired when the Viewer begins copying a record. This event is cancellable
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ BeforeDeleteRecord DELEGATE System.ComponentModel.CancelEventHandler Event fired when the Viewer starts deleting a record. This event is cancellable
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ BeforeEnableFields (Object, CancelableEventArgs) Raised before the fields are enabled
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ BeforeSaveChanges DELEGATE System.ComponentModel.CancelEventHandler Event fired when the Viewer starts saving a record. This event is cancellable
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CopyingRecordChanged DELEGATE System.EventHandler Raised when the CopyingRecord property has changed
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CurrentChanged DELEGATE System.EventHandler Event fired when the current record changes
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ FieldsDisabled DELEGATE System.EventHandler Event fired when the fields of this viewer become disabled
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ FieldsEnabled DELEGATE System.EventHandler Event fired when the fields of this viewer become enabled
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ FocusControlOnAddChanged DELEGATE System.EventHandler Event fired when the FocusControlOnAdd property changes
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ FocusControlOnUpdateChanged DELEGATE System.EventHandler Event fired when the FocusControlOnUpdate property changes
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ GenericEvent (Object, EventArgs) Raised from custom logic
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ InitializingChanged DELEGATE System.EventHandler Event fired when the Initializing property changes
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SmartDataSourceChanged DELEGATE System.EventHandler Event fired when the SmartDataSource Property is changed
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SmartGroupAssignSourceChanged DELEGATE System.EventHandler Event fired when the SmartGroupAssignSource Property is changed
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SmartTableIOSourceChanged DELEGATE System.EventHandler Event fired when the SmartTableIOSource Property is changed
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ SmartTableIOStateChanged (Object, SmartTableIOStateChangedEventArgs) Event fired whenever the SmartTableIOState property has changed
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ VisualValidating DELEGATE System.EventHandler Raised when the Viewer performs Visual Validation
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Top Property Summary
Options Name Purpose
+ LOGICAL ActivateCurrentGridRowDuringEdit
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL AddedRecordModified
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL AddingRecord
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL AllowCloseOfUnmodifiedNewRecord
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL CancellingUpdate
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL CopyingRecord
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# CHARACTER DesignerVerbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL DesignTime
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL DisallowUpdateDuringAnotherUpdate
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL DisallowUpdateDuringAnotherUpdateDefault
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL EventHandlerActive
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ Control FocusControlOnAdd
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ Control FocusControlOnUpdate
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# CHARACTER HiddenProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL Initializing
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource LinkDataSource
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignGroupAssignSource LinkGroupAssignSource
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignTableIOSource LinkTableIOSource
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignToolbarSource LinkToolbarSource
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# CHARACTER NonBrowsableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# Consultingwerk.SmartComponents.Base.SmartViewerOptionalFeatures OptionalFeatures
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# LOGICAL ParentFormDestroyedSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL ReadOnlyDisabled
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL SaveMode
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL SavingChanges
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CHARACTER SecurityKey
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ ISmartDataSource SmartDataSource
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ ISmartGroupAssignSource SmartGroupAssignSource
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ Consultingwerk.SmartComponents.Base.ListISmartGroupAssignTarget SmartGroupAssignTargets
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ ISmartTableIOSource SmartTableIOSource
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CHARACTER SmartTableIOState
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ ISmartToolbarSource SmartToolbarSource
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# LOGICAL TextChangedHandlerSuspended
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ Consultingwerk.SmartComponents.Enum.UpdateStateEnum UpdateState
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ LOGICAL UseBusinessEntityDescriptor
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
# LOGICAL UserControlEventsSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL ValidateChildrenOnSaveChanges
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ CHARACTER ViewerLogicClass
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
+ ISmartViewerLogic ViewerLogicObject
Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl


Method Detail
Top

PROTECTED ActivateCurrentGridRow ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Activates the current row in the linked Grid
Notes:

Top

PUBLIC ActivateEventHandler ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Activates the Event Handlers for the contained controls
Notes:

Top

PUBLIC AddRecord ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Add a new record to the SmartDataSource. The Method CreateRecord of
SmartViewerControl gets called to Handle this Task.
This Method is called by the Toolbar Classes SmartToolbarController
or SmartToolStripContainer by pressing the AddRecord Tool.
Enforced by Interface ISmartDataTarget.
Notes:

Top

PUBLIC AddSmartTableIOSource (ISmartTableIOSource)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Adds a(nother) SmartTableIOSource to the SmartViewerControl
instance
Notes: Enables multiple SmartTableIOSources to the SmartViewerControl

Parameters:
poSmartTableIOSource ISmartTableIOSource
The SmartTableIOSource instance to add to the list of TableIO Sources of this Control
Top

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

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Set's focus into a field that is related to an error
Notes: Protected method, so behavior can be customized
Returns the focussed Control, so that visual hints may be added

Parameters:
pcFieldName CHARACTER
The name of the field to apply Focus to
Returns System.Windows.Forms.Control
The Control that the focus was applied to
Top

PROTECTED System.Windows.Forms.Control ApplyFocusToErrorField (IFieldValidationError)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Set's focus into a field that is related to an error
Notes: Protected method, so behavior can be customized
Returns the focussed Control, so that visual hints may be added

Parameters:
e Consultingwerk.SmartComponents.Base.IFieldValidationError
The IFieldValidationError instance that contains the information about which Control/Field to focus
Returns System.Windows.Forms.Control
The Control that the focus was applied to
Top

PUBLIC AttachBindingSource (BindingSource)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: This Method attaches a new BindingSource given as the Parameter
poBindingSource to the Objects of the current Class. The new
BindingSource may have been created by a DataAdapter or reused from a
SmartBrowserControl
Notes: Enforced by Interface ISmartDataTarget.
It is called by the SmartDataAdapter Class when creating a new
BindingSource or when a new SmartDataSource is registered to the
Class implementing the Interface ISmartDataTarget.
This method is also called from the SmartViewerControl destructor (while
a form is closed) to de-attach from the Binding Source. In this case
the poBindingSource reference is passed in as the unknown value.

Parameters:
poBindingSource Progress.Data.BindingSource
The BindingSource to be attached to the Controls contained in the Viewer
Top

PUBLIC BeginInit ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Invoked at the beginning of a Containers InitializeComponents
method
Notes: Enforced by System.ComponentModel.ISupportInitialize
See http://msdn.microsoft.com/de-de/library/system.componentmodel.isupportinitialize.begininit(VS.80).aspx

Top

PROTECTED BeginUpdateStateHandler (Object, DataSourceUpdateStateEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the BeginUpdateState event of the data source
Notes:

Parameters:
sender System.Object
The reference to the object that raised this event
e Consultingwerk.SmartComponents.Implementation.DataSourceUpdateStateEventArgs
The DataSourceUpdateStateEventArgs instance with the data for this event
Top

PROTECTED BindingSourcePositionChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the PositionChanged event of the BindingSource
this Viewer is attached to
Notes: Cancels the pending timer of all Lookups contained on the Viewer

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 CancelUpdate ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Reverts the changes to the current record.
Notes: This Method is called by the Toolbar Classes SmartToolbarController
or SmartToolStripContainer by pressing the corresponding Tool.
Enforced by Interface ISmartDataTarget.

Top

PUBLIC CleanupLookupControls ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Destroys the Controls in the Viewer Control
Notes:

Top

PROTECTED LOGICAL ControlFocus (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Calls the Focus() method for a .NET Control
Notes: SCL-659 : A customer was setting the SET-WAIT-STATE("GENERAL") using
the WaitStateManager around all TableIO Operations - with the consequence,
that all Focus() operations on
- error message putting focus to error field
- FocusControlOnAdd, etc.
were not working anymore. Seems that .NET Controls ignore the Focus()
during the WAIT-STATE. In order to workaround those situation we have
moved all calls to the Focus() method of Viewer Controls to the
overridable method ControlFocus() that receives the Control reference
as the input parameter. This overridable method can be extended by
customers to make sure no WAIT-STATE is active anymore before the
Control:Focus() Focus() is called.

Parameters:
poControl System.Windows.Forms.Control
The reference to the .NET Control that should receive Focus
Returns LOGICAL
Logical value indicating if the input focus request was successful
Top

PUBLIC CopyRecord ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Copy the current record to a new one. The Method CreateRecord of
SmartViewerControl gets called to Handle this Task.
This Method is called by the Toolbar Classes SmartToolbarController
or SmartToolStripContainer by pressing the corresponding Tool.
Enforced by Interface ISmartDataTarget.
Notes:

Top

PROTECTED CreateRecord (logical)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Creates a new record in the viewer.
This Method is called by AddRecord and CopyRecord from the current
Class but may be overridden.
Notes:

Parameters:
plCopy LOGICAL
Logical value indicating if the method has been called from AddRecord or CopyRecord, FALSE = Add new record, TRUE = Copy existing record
Top

PROTECTED CreateVerbs ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Creates Designer Verbs based on the DesignerVerbs property
Notes:

Top

PROTECTED CustomInitializeControlHandler (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Overridable method that can be used to perform custom event
subscriptions
Notes: Empty method, needs to be overridden in a custom viewer class

Parameters:
poControl Control
The reference to the Control
Top

PUBLIC DeactivateEventHandler ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Deactivates the Event Handlers for the contained controls
Notes:

Top

PUBLIC DeleteRecord ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Delete the current record.
Notes: The Method DeleteRow of the SmartDataSource is called to perform
this Task. This Method is called by the Toolbar Classes SmartToolbarController
or SmartToolStripContainer by pressing the corresponding Tool.
Enforced by Interface ISmartDataTarget.

Top

PUBLIC DeregisterSmartGroupAssignTarget (ISmartGroupAssignTarget)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Deregister a SmartDataTarget with the SmartGroupAssignTarget
Enforced by Interface ISmartGroupAssignSource.
Notes:

Parameters:
poSmartGroupAssignTarget ISmartGroupAssignTarget
The SmartGroupAssignTarget to deregister from this SmartViewerControl instance
Top

PUBLIC DisableFields ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Disable all enabled controls of the SmartViewerControl.
This Method is called from inside the SmartViewerControl.
Enforced by Interface ISmartDataTarget or ISmartGroupAssignTarget.
Notes:

Top

PROTECTED DisplayError (Error)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Display ErrorMessages shows a predefined Error Dialog and is called
from the Method SaveChanges () of the SmartViewerControl Class.
Notes:

Parameters:
e Progress.Lang.Error
The error instance to visualize
Top

PROTECTED DisplayError (Error, logical)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Display ErrorMessages shows a predefined Error Dialog and is called
from the Method SaveChanges () of the SmartViewerControl Class.
Notes:

Parameters:
e Progress.Lang.Error
The error instance to visualize
plEnsureVisible LOGICAL
Logical flag indicating if the viewer should ensure it's visible
Top

PROTECTED EditorDropDownAfterCloseUpHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the AfterCloseUp event of an
UltraDateTimeEditor. Clears the reference to the currently opened
DataTime popup editor in the variable oEditorDropDownControl
Notes:

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

PROTECTED EditorDropDownAfterDropDownHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the AfterDropDown event of an
UltraDateTimeEditor. Stores a reference to the currently opened
DataTime popup editor in the variable oEditorDropDownControl
Required to be able to start the update process in the
method TextChangedHandler (in this class)
Notes:

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 EnableFields (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Enables controls of the SmartViewerControl
Notes: This Method is called by the Toolbar Classes SmartToolbarController
or SmartToolStripContainer by pressing the Tools for Add or Edit Data.
Enforced by Interface ISmartDataTarget or ISmartGroupAssignTarget.

Parameters:
pcFields CHARACTER
The EnableFieldsEnum value indicating if the fields are enabled for Add or Update
Top

PUBLIC EnableFields (character, logical)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Enables controls of the SmartViewerControl
Notes: This Method is called by the Toolbar Classes SmartToolbarController
or SmartToolStripContainer by pressing the Tools for Add or Edit Data.
Enforced by Interface ISmartDataTarget or ISmartGroupAssignTarget.

Parameters:
pcFields CHARACTER
The EnableFieldsEnum value indicating if the fields are enabled for Add or Update
plEnsureVisible LOGICAL
Logical value indicating if the Viewer should ensure it's visible
Top

PUBLIC EndInit ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Invoked at the end of a Containers InitializeComponents method
Notes: Enforced by System.ComponentModel.ISupportInitialize
See http://msdn.microsoft.com/de-de/library/system.componentmodel.isupportinitialize.endinit(VS.80).aspx

Top

PROTECTED EndUpdateStateHandler (Object, DataSourceUpdateStateEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the EndUpdateState event of the data source
Notes:

Parameters:
sender System.Object
The object that raised the EndUpdateState event
e Consultingwerk.SmartComponents.Implementation.DataSourceUpdateStateEventArgs
The DataSourceUpdateStateEventArgs with the data for this event
Top

PUBLIC EnsureVisible ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Ensures that this SmartViewerControl is visible
Notes:

Top

PUBLIC EvaluateTableIOState ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: This Method sets the Property SmartTableIOState to a value according
to the SmartDataSources state of the current class. Possible values
for SmartTableIOState are defined in the TableIOStateEnum.
Notes: This Method is called by the SmartDataAdapter when the
PositionChangedHandler is fired or inside the SmartViewerControl if
a new BindingSource is attached.
Enforced by ISmartDataTarget

Top

PROTECTED FillBoundControlTable (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Populates the ttViewerBoundControls temp-table
Notes: Internal method, populates records for a single control container at
a time

Parameters:
poContainer System.Windows.Forms.Control
The reference to the current control container
Top

PUBLIC Progress.Data.BindingSource FindDesignTimeBindingSource ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Attempts to locate the BindingSource that was used in a SmartViewerControl
at Design Time
Notes: This method may only be called before the SmartViewerControl:SmartDataSource
property has been assigned a value to as the Design Time BindingSource
will be disposed when attaching to the SmartDataSource's BindingSource
at runtime.
This method is helpful when building tools that may be able to query
properties such as the EntityName and EntityTable from the Design Time
BindingSource
Supported from OpenEdge

Returns Progress.Data.BindingSource
The reference to the design time binding source or ?
Top

PUBLIC LOGICAL FocusFirstEnabledEditorControl (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Focusses the first enabled EditorControl of the given Container
Control
Notes: DEFINE PRIVATE STATIC TEMP-TABLE ttTabOrder NO-UNDO
FIELD RecordOwner AS Progress.Lang.Object
FIELD ChildControl AS Progress.Lang.Object
FIELD TabOrder AS INTEGER
INDEX RecordOwner RecordOwner TabOrder .

Parameters:
poControl Control
The reference to the container control
Returns LOGICAL
Logical value indicating the success of this method
Top

PROTECTED FormActivatedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the Activate event of the owning Form
Notes: Notes, this Event Handler is only subscribed to the Activate event
of the containing Form when the Viewer's event handlers are activated,
i.o.w the Viewer is active.

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

PROTECTED FormClosedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Handles the FormClosed event of the containing Form
Notes: Notes, this Event Handler is only subscribed to the FormClosed event
of the containing Form when the Viewer's event handlers are activated,
iow the Viewer is active.

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

PROTECTED FormDeactivatedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the Deactivate event of the owning Form
Notes: Notes, this Event Handler is only subscribed to the Deactivated event
of the containing Form when the Viewer's event handlers are activated,
iow the Viewer is active.

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 System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Returns a List of all Components in the Form
Notes: Supported on OpenEdge 11 only, due to dependency to the ComponentsCollection
list not available on 10.2B

Returns System.Collections.Generic.List <System.ComponentModel.Component>
The List of Components in the Form
Top

PUBLIC System.Windows.Forms.Control GetBoundControl (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns the reference to the Control that is bound to the named field
of the binding source
Notes:

Parameters:
pcBindingPropertyName CHARACTER
The name of the field in the ProBindingSource
Returns System.Windows.Forms.Control
The reference to the resulting Control
Top

PUBLIC System.Collections.Generic.List <System.Windows.Forms.Control> GetBoundControls (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns the list of Controls that is bound to the named field
of the binding source
Notes: Returns all Controls in the viewer and also GroupAssignLinked viewers

Parameters:
pcBindingPropertyName CHARACTER
The name of the field in the ProBindingSource
Returns System.Collections.Generic.List <System.Windows.Forms.Control>
The List of bound Controls
Top

PUBLIC GetBoundControlTable (table)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Populates a temp-table with information about all bound controls
in the SmartViewerControl
Notes: Also processes GroupAssignTarget Viewers

Parameters:
ttViewerBoundControls TEMP-TABLE ttViewerBoundControls
INPUT-OUTPUT TABLE with the data binding information, from Consultingwerk\SmartComponents\Base\ttViewerBoundControls.i
Top

PUBLIC CHARACTER GetControlEnabled (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns the Enable mode for a Control from the list of Controls that will be enabled
and disabled by the Viewer based on the current Viewer state

Parameters:
poControl Control
The Control for which the Enable mode should be returned
Returns CHARACTER
The CHARACTER value representing the Control Enabled mode
Top

PUBLIC CHARACTER GetControlSecurityEnabled (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns the security Enable mode for a Control from the list of Controls
that will be enabled and disabled by the Viewer based on the current Viewer
state

Parameters:
poControl Control
The Control for which the Enable mode should be returned
Returns CHARACTER
The CHARACTER value representing the security Control Enabled mode
Top

PUBLIC HANDLE GetScreenValuesDataset ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns a ProDataset with the current screen values
Notes:

Returns HANDLE
The handle of the ProDataset
Top

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

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns the reference to a Control in the Viewer identified by the Controls
Name. This Method starts a recursive search for the Control.
Notes: The Method is called by the SmartLookupControls to set values to
the Controls after the Lookup Dialog has been closed.

Parameters:
pcControlName CHARACTER
Name of the Control to search
Returns System.Windows.Forms.Control
The reference to the Control or the unknown value
Top

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

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Recursively searches for the Control with the given name
Notes: This Method is called by the Method GetViewerField (pcControlName AS CHARACTER)
of the SmartViewerControl Class.

Parameters:
pcControlName CHARACTER
Name of the Control to search
poControl Control
The parent control to search in
Returns System.Windows.Forms.Control
The reference to the Control or the unknown value
Top

PROTECTED ISmartGroupAssignTarget GetViewerForBoundControl (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns the reference to the SmartGroupAssignTarget that contains
a Control bound to the given field name
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns ISmartGroupAssignTarget
The reference to the SmartGroupAssignTarget that contains a Control bound to the given field name
Top

PROTECTED GroupAssignSmartTableIOStateChangedHandler (Object, SmartTableIOStateChangedEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the SmartTableIOStateChanged event of the
Group assign Source
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Base.SmartTableIOStateChangedEventArgs
The SmartTableIOStateChangedEventArgs with the data for this event
Top

PROTECTED HandleServerEvent (Object, EventArgs, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for a server-side event
Notes:

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
pcEventName CHARACTER
The name of the event
Top

PROTECTED HandleServerEvent (Object, EventArgs, character, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for a server-side event
Notes:

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
pcEventName CHARACTER
The name of the event
pcEventContext CHARACTER
The context for the event
Top

PUBLIC HandleUiControl (UiControl, handle)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns a ProDataset with the current screen values
Notes:

Parameters:
poUiControl UiControl
The reference to the UiControl instance to process
phDataset HANDLE
The handle of the ProDataset with the screen values
Top

PUBLIC HandleValidationError (Error)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Handles an error raised by validation routines
Notes: Displays the Error message and focusses the field that caused the error

Parameters:
poError Progress.Lang.Error
The reference to the validation error instance
Top

PUBLIC LOGICAL HasBoundControl (character, logical)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns logical value indicating if the Viewer contains a Control
that is bound to the named field
Notes: Optionally includes Group Assigned viewers

Parameters:
pcBindingPropertyName CHARACTER
The name of the field in the ProBindingSource
plIncludeGroupAssignTargets LOGICAL
Logical value indicating if the method should also look in GroupAssign Target Viewers
Returns LOGICAL
Logical value indicating if a bound control exists
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED InitializeControlEventHandler ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Subscribe the EventHandler(s) to events of all controls added to
the SmartViewerControl. The RecurseInitializeControlEventHandler is
used to Handle this Task.
This Method is called every Time a new Control is added to the
SmartViewerControl.
Notes:

Top

PROTECTED InitializeViewerLogicObject ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Initializes the Viewer Logic Object
Notes: The SmartViewerControl will initialize the ViewerLogicClass during
EndInit when the property ViewerLogicClass is set and the Viewer
does not have a SmartGroupAssignSource
The Viewer Logic Object will also not initialized when the ViewerLogicObject
instance is already set
Registers the ViewerLogicObject also for the SmartGroupAssignTargets

Top

PUBLIC InitializeViewerUiControlHandler ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Initializes the SmartViewerUiControlHandler class
Notes: The SmartViewerUiControlHandler is initialized when calling into
GetScreenValuesDataset, HandleUiControl and ResetViewerState
This method allows to initialize the instance earlier, especially to
store the EnabledStatus of fields earlier

Top

PROTECTED LOGICAL IsControlEnabled (character, character, logical)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Determines if a Control should be enabled based on the SecurityEnableMode
and EnableMode
Notes:

Parameters:
pcSecurityEnableMode CHARACTER
The security enable mode of the current control
pcEnableMode CHARACTER
The enable mode of the current control
plAdd LOGICAL
Logical value indicating if the viewer is in Add (true) or Update (false) mode
Returns LOGICAL
Logical value indicating if the control is supposed to be enabled or not
Top

PUBLIC LOGICAL IsEditorControl (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns TRUE is the Controls is recognized as an Editor Control
Notes: That is a Control the user normally enters Text

Parameters:
poControl Control
The reference to the Control to test
Returns LOGICAL
Logical value indicating if the Control is a known Editor Control
Top

PUBLIC LOGICAL IsOkToClose (logical, CloseReason)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Check if it is ok to close the parent form.
Returns TRUE when the form can be closed. Otherwise returns FALSE.
Enforced by the Interface ICheckOkToClose.
Notes:

Parameters:
plShowMessage LOGICAL
When TRUE a message is Shown explaining why it is not ok to close the parent form
poCloseReason System.Windows.Forms.CloseReason
The System.Windows.Forms.CloseReason passed from then OnFormClosing Method of the parent form giving the reason why the form is closed
Returns LOGICAL
Logical value indicating if the parent Form may be closed
Top

PROTECTED LOGICAL IsValueChanged (Object)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns if the current (screen-value) of a Control in the SmartViewerControl
derived class has changed in comparison to the underlying buffer value
Notes: Currently compares based on Value, Text, CheckedState or LookupKeyValue
bound values

Parameters:
poControl System.Object
The reference to the Control (type is System.Object for convenience of passing in the sender of a .NET event handler)
Returns LOGICAL
Logical value indicating if the current value has changed
Top

PROTECTED LeaveHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the Leave event
Notes: No longer overriding the OnLeave method as that cause unhandled
.NET Exceptions when in update mode and the containing Form was closed

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

PROTECTED OnAddedRecordModifiedChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the AddedRecordModifiedChanged
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for the event
Top

PROTECTED OnAddingRecordChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the AddingRecordChanged event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnAfterAddRecord (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the AfterAddRecord event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnAfterCancelledUpdate (AfterCancelledUpdateEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the AfterCancelledUpdate event
Notes:

Parameters:
e Consultingwerk.SmartComponents.Base.AfterCancelledUpdateEventArgs
The AfterCancelledUpdateEventArgs with the data for this event
Top

PROTECTED OnAfterCancelUpdate (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the AfterCancelUpdate event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnAfterCopyRecord (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the AfterCopyRecord event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnAfterDeleteRecord (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the AfterDeleteRecord event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnAfterFieldsEnabled (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the AfterFieldsEnabled
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for the event
Top

PROTECTED OnAfterSaveChanges (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the AfterSaveChanges event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnBeforeAddRecord (CancelEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the BeforeAddRecord event
Notes:

Parameters:
e System.ComponentModel.CancelEventArgs
The CancelEventArgs with the data for this event
Top

PROTECTED OnBeforeCancelUpdate (CancelEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the BeforeCancelUpdate event
Notes:

Parameters:
e System.ComponentModel.CancelEventArgs
The CancelEventArgs with the data for this event
Top

PROTECTED OnBeforeCopyRecord (CancelEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the BeforeCopyRecord event
Notes:

Parameters:
e System.ComponentModel.CancelEventArgs
The CancelEventArgs with the data for this event
Top

PROTECTED OnBeforeDeleteRecord (CancelEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the BeforeDeleteRecord event
Notes:

Parameters:
e System.ComponentModel.CancelEventArgs
The CancelEventArgs with the data for this event
Top

PROTECTED OnBeforeEnableFields (CancelableEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the BeforeEnableFields
Notes:

Parameters:
e Consultingwerk.CancelableEventArgs
The CancelableEventArgs with the data for the event
Top

PROTECTED OnBeforeSaveChanges (CancelEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the BeforeSaveChanges event
Notes:

Parameters:
e System.ComponentModel.CancelEventArgs
The CancelEventArgs with the data for this event
Top

PROTECTED OnCopyingRecordChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the CopyingRecordChanged event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for the event
Top

PROTECTED OnCurrentChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the CurrentChanged event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for the event
Top

PROTECTED OnEnter (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the Enter event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnFieldsDisabled (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the FieldsDisabled event.
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnFieldsEnabled (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the FieldsEnabled event.
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnFocusControlOnAddChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the FocusControlOnAddChanged event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnFocusControlOnUpdateChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the FocusControlOnUpdateChanged event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnGenericEvent (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the GenericEvent
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event
Top

PROTECTED OnInitializingChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the InitializingChanged event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnLoad (EventArgs)

Overrides Consultingwerk.SmartComponents.Base.SmartViewerControl:OnLoad (EventArgs)
Purpose: Raises the Load event
Notes: Subscribes the FormDestroyed event from the ParentForm

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnSmartDataSourceChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Publishes the SmartDataSourceChanged event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnSmartGroupAssignSourceChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Publishes the SmartGroupAssignSourceChanged event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnSmartTableIOSourceChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Publishes the SmartGroupAssignSourceChanged event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnSmartTableIOStateChanged (SmartTableIOStateChangedEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Publishes the SmartTableIOStateChanged event
Notes:

Parameters:
e Consultingwerk.SmartComponents.Base.SmartTableIOStateChangedEventArgs
The System.EventArgs with the data for this event
Top

PUBLIC OnVerbClicked (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event Handler method for Designer Verbs
Notes: This method is intended to be overridden

Parameters:
pcDesignerVerb CHARACTER
The name (Label) of the Designer Verb that was invoked
Top

PROTECTED OnVisualValidating (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the VisualValidating event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for the event
Top

PROTECTED ParentChangedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler to the ParentChanged event
Add EventHandlers to Child Controls inside the SmartViewerControl.
This Method is Executed when the SmartViewerControl is added to a Form.
Notes: Executed only one time.

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

PROTECTED ParentFormDestroyedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event handler for the FormDestroyed event of the owning Form
Notes:

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 ProcessHiddenControls ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Processes the registered hidden controls
Notes: Intended to make them Visible = FALSE after DataBinding has been initialized

Top

PUBLIC RaiseGenericEvent (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raises the Generic Event
Notes: Supports raising events from the Viewer Logic Class - it's recommended
to use a derived event arg to distinguish events. This method is package-protected
as it's only meant to be used from the SmartViewerLogic class

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs
Top

PUBLIC LOGICAL RaiseToolbarAction (Object, ToolClickEventArgs, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Executes a Toolbar Action
Notes:

Parameters:
sender System.Object
The reference to the control that raised the ToolClick event
e ToolClickEventArgs
The ToolClickEventArgs with the data for the ToolClick event
pcToolbarAction CHARACTER
The name of the method to execute
Returns LOGICAL
Logical value indicating if the action was executed
Top

PROTECTED RecurseInitializeControlEventHandler (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Subscribe the EventHandler(s) to events of all controls added to
the SmartViewerControl.
This Method is called by the Method InitializeControlEventHandler ()
of the SmartViewerControl.
Notes:

Parameters:
poParentControl Control
The The Parent Control (THIS-OBJECT), nested Container
Top

PROTECTED System.Windows.Forms.Control RecurseLocateBindingControl (Control, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Recurses through the Controls in this SmartViewerControl and nested
controls searching for a Control that is bound to the named
BindingProperty (a field attached to the ProBindingSource).
Notes:

Parameters:
poParentControl System.Windows.Forms.Control
The reference to the ParentControl
pcBindingPropertyName CHARACTER
The name of the field in the ProBindingSource
Returns System.Windows.Forms.Control
The reference to the resulting Control
Top

PROTECTED RecurseLocateBindingControls (Control, Control>, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Recurses through the Controls in this SmartViewerControl and nested
controls searching for all Controls that are bound to the named
BindingProperty (a field attached to the ProBindingSource).
Notes: The controls will be added to the list

Parameters:
poParentControl System.Windows.Forms.Control
The reference to the ParentControl
poList System.Collections.Generic.List
The list to add the control references to
pcBindingPropertyName CHARACTER
The name of the field in the ProBindingSource
Top

PROTECTED RecurseLookupStopTimer (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Stops the current timer of all Lookups
Notes: Invoked when a PositionChanged event occurs

Parameters:
poParentControl System.Windows.Forms.Control
The parent Control of the current iteration
Top

PROTECTED RecursePerformLookup (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Performs the Lookup operation in all contained SmartLookup Controls
Notes: Called at the begin of a Save operations

Parameters:
poParentControl Control
The parent Control for the current iteration
Top

PROTECTED RecurseReplaceBindingSource (Control, BindingSource)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Internal method to replace the data bindings of all contained
Controls with the actual binding source provided by a SmartDataSource.
Notes: Initially called by the Method AttachBindingSource () of the
SmartViewerControl.
This method also applies field security from the IFieldAuthorizationProvider
implementation. When a Control is hidden, the label is also hidden. The
Label for a Control is located using the GetNextControl method of the
parent control, thus it's required that the label is standing exactly
before the Control in the Tab-Order of the Viewer.

Parameters:
poParentControl Control
Current Container to perform Action on
poBindingSource Progress.Data.BindingSource
New BindingSource Instance passed to the Class
Top

PROTECTED RecurseRestoreCurrentValues (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Recurse Restore the Current Values of the Controls on the Viewer
after a new DataRow is created.
This Method is called by the internal Method RestoreValuesForCopy ().
Parameters:
Notes:

Parameters:
poParentControl Control
The parent control of the current iteration
Top

PROTECTED RecurseStoreCurrentValues (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Recurse Store the Current Values of the Controls on the Viewer
before a new DataRow is created.
This Method is called by the internal Method StoreValuesForCopy ().
Notes:

Parameters:
poParentControl Control
The parent Control of the current iteration
Top

PUBLIC RegisterHiddenControl (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Register a hidden control
Notes: Hidden Controls are rendered Visible but Hidden at the end of the Viewer's
OnLoad method - to allow data-binding to be initialized

Parameters:
poControl System.Windows.Forms.Control
The Control to register as hidden
Top

PROTECTED RegisterServerSideEventHandler (Control, character, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Subscribes a Control to a server-side event handler
Notes: Method in a Business Task

Parameters:
poControl System.Windows.Forms.Control
The Control contained in the Viewer
pcEventName CHARACTER
The name of the event to subscribe
pcHandlerName CHARACTER
The name of the control event handler method
Top

PUBLIC RegisterSmartGroupAssignTarget (ISmartGroupAssignTarget)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Register a SmartDataTarget with the SmartGroupAssignTarget
This Method is executed every time a new SmartGroupAssignSource is
registered to the corresponding Property of a Class implementing the
Interface ISmartGroupAssignSource.
Enforced by Interface ISmartGroupAssignSource.
Notes:

Parameters:
poSmartGroupAssignTarget ISmartGroupAssignTarget
The SmartGroupAssignTarget to register with this SmartViewerControl instance
Top

PROTECTED RemoveControlEnabled (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Removes a Control from the list of Controls that will be enabled
and disabled by the Viewer based on the current Viewer state

Parameters:
poControl Control
The Control which shall be removed from the list of managed Controls
Top

PROTECTED RemoveControlEnabled (Control, Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Removes multiple Controls from the list of Controls that will be enabled
and disabled by the Viewer based on the current Viewer state

Parameters:
poControl1 Control
The first Control which shall be removed from the list of managed Controls
poControl2 Control
The second Control which shall be removed from the list of managed Controls
Top

PROTECTED RemoveControlEnabled (Control, Control, Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Removes multiple Controls from the list of Controls that will be enabled
and disabled by the Viewer based on the current Viewer state

Parameters:
poControl1 Control
The first Control which shall be removed from the list of managed Controls
poControl2 Control
The second Control which shall be removed from the list of managed Controls
poControl3 Control
The third Control which shall be removed from the list of managed Controls
Top

PROTECTED RemoveControlEnabled (Control, Control, Control, Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Removes multiple Controls from the list of Controls that will be enabled
and disabled by the Viewer based on the current Viewer state

Parameters:
poControl1 Control
The first Control which shall be removed from the list of managed Controls
poControl2 Control
The second Control which shall be removed from the list of managed Controls
poControl3 Control
The third Control which shall be removed from the list of managed Controls
poControl4 Control
The fourth Control which shall be removed from the list of managed Controls
Top

PROTECTED RemoveControlEnabled (Control, Control, Control, Control, Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Removes multiple Controls from the list of Controls that will be enabled
and disabled by the Viewer based on the current Viewer state

Parameters:
poControl1 Control
The first Control which shall be removed from the list of managed Controls
poControl2 Control
The second Control which shall be removed from the list of managed Controls
poControl3 Control
The third Control which shall be removed from the list of managed Controls
poControl4 Control
The fourth Control which shall be removed from the list of managed Controls
poControl5 Control
The fifth Control which shall be removed from the list of managed Controls
Top

PUBLIC RemoveSmartTableIOSource (ISmartTableIOSource)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Removes a SmartTableIOSource from the SmartDataAdapter
instance
Notes: Enables multiple SmartTableIOSource to the SmartDataAdapter.

Parameters:
poSmartTableIOSource ISmartTableIOSource
The SmartTableIOSource to remove from the Viewer
Top

PUBLIC ResetViewerState (logical)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
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

PUBLIC RestoreValuesForCopy ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Restore the Current Values of all Controls on a SmartViewerControl
and in all SmartGroupAssignTargets.
This Method is called by CreateRecord from the current Class.
Enforced by Interface ISmartGroupAssignTarget.
Notes:

Top

PUBLIC SaveChanges ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Saves the current changes to the database.
Notes: This Method is called by the Toolbar Classes SmartToolbarController
or SmartToolStripContainer by pressing the corresponding Tool.
Enforced by Interface ISmartDataTarget or ISmartGroupAssignTarget.

Top

PUBLIC LOGICAL SaveChangesOnDeactivateForm (logical)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Saves pending changes when a Form is deactivated
Notes:

Parameters:
plShowMessage LOGICAL
When TRUE a message is asking the user if values should be saved. When FALSE values will be saved silently
Returns LOGICAL
True when the user did choose not to save or the save was successful, False when the control remains in Update state
Top

PUBLIC ServerSideCurrentChangedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for CurrentChanged event
Notes: Public so that the SmartViewerUiControlHandler can call into this method

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 SetControlEnabled (character, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Sets the Enable Mode for the given Controls inside the SmartViewerControl
Notes: Possible Values for pcEnabled (ControlEnabledEnum):
Add, Always, Never, Update, UpdateOnly

Parameters:
pcControlNames CHARACTER
The comma delimited list of Control Name
pcEnabled CHARACTER
Mode to be set as defined in ControlEnabledEnum
Top

PUBLIC SetControlEnabled (Control, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Sets the Enable Mode for a given Control inside the SmartViewerControl.
Called by the Method InitializeControlEventHandler () of a
SmartViewerControl derived Class.
Notes: Possible Values for pcEnabled (ControlEnabledEnum):
Add, Always, Never, Update, UpdateOnly

Parameters:
poControl Control
The Control which shall be set to the passed in Mode
pcEnabled CHARACTER
Mode to be set as defined in ControlEnabledEnum
Top

PUBLIC SetControlEnabled (Control, Control, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Sets the Enable Mode for two given Controls inside the SmartViewerControl.
Called by the Method InitializeControlEventHandler () of a
SmartViewerControl derived Class.
Notes: Possible Values for pcEnabled (ControlEnabledEnum):
Add, Always, Never, Update, UpdateOnly

Parameters:
poControl1 Control
The first Control which shall be set to the passed in Mode
poControl2 Control
The second Control which shall be set to the passed in Mode
pcEnabled CHARACTER
Mode to be set as defined in ControlEnabledEnum
Top

PUBLIC SetControlEnabled (Control, Control, Control, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Sets the Enable Mode for three given Controls inside the SmartViewerControl.
Called by the Method InitializeControlEventHandler () of a
SmartViewerControl derived Class.
Notes: Possible Values for pcEnabled (ControlEnabledEnum):
Add, Always, Never, Update, UpdateOnly

Parameters:
poControl1 Control
The first Control which shall be set to the passed in Mode
poControl2 Control
The second Control which shall be set to the passed in Mode
poControl3 Control
The third Control which shall be set to the passed in Mode
pcEnabled CHARACTER
Mode to be set as defined in ControlEnabledEnum
Top

PUBLIC SetControlEnabled (Control, Control, Control, Control, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Sets the Enable Mode for four given Controls inside the SmartViewerControl.
Called by the Method InitializeControlEventHandler () of a
SmartViewerControl derived Class.
Notes: Possible Values for pcEnabled (ControlEnabledEnum):
Add, Always, Never, Update, UpdateOnly

Parameters:
poControl1 Control
The first Control which shall be set to the passed in Mode
poControl2 Control
The second Control which shall be set to the passed in Mode
poControl3 Control
The third Control which shall be set to the passed in Mode
poControl4 Control
The forth Control which shall be set to the passed in Mode
pcEnabled CHARACTER
Mode to be set as defined in ControlEnabledEnum
Top

PUBLIC SetControlEnabled (Control, Control, Control, Control, Control, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Sets the Enable Mode for five given Controls inside the SmartViewerControl.
Called by the Method InitializeControlEventHandler () of a
SmartViewerControl derived Class.
Notes: Possible Values for pcEnabled (ControlEnabledEnum):
Add, Always, Never, Update, UpdateOnly

Parameters:
poControl1 Control
The first Control which shall be set to the passed in Mode
poControl2 Control
The second Control which shall be set to the passed in Mode
poControl3 Control
The third Control which shall be set to the passed in Mode
poControl4 Control
The forth Control which shall be set to the passed in Mode
poControl5 Control
The fifth Control which shall be set to the passed in Mode
pcEnabled CHARACTER
Mode to be set as defined in ControlEnabledEnum
Top

PUBLIC SetControlEnabled (Control[], character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Sets the Enable Mode for the given Controls inside the SmartViewerControl
Notes: Possible Values for pcEnabled (ControlEnabledEnum):
Add, Always, Never, Update, UpdateOnly

Parameters:
poControls Control
The array of Control which shall be set to the passed in Mode
pcEnabled CHARACTER
Mode to be set as defined in ControlEnabledEnum
Top

PROTECTED SetControlEnabledFromDescriptor ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Sets the ControlEnabled property of the visual controls
based on the Business Entity Descriptor
Notes:

Top

PUBLIC SetModifyingState ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Sets the TableIOState to ModifyingData
Notes: Useful when modifying Viewer values through custom event handlers

Top

PUBLIC SetOpenedEditorDropDownControl (Control)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Set's the current opened EditorDropDownControl
Notes: See Bug 1878 for details

Parameters:
poControl Control
The reference to the Control that currently has the list dropped down
Top

PRIVATE smartBusinessEntityBindingSource1_eIndex_FieldNames_EditorButtonClick (Object, EditorButtonEventArgs)

Purpose: Event handler for the EditorButtonClick event of the
smartBusinessEntityBindingSource1_eIndex_FieldNames Control
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinEditors.EditorButtonEventArgs
The EditorButtonEventArgs with the data for this event
Top

PRIVATE smartBusinessEntityBindingSource1_eIndex_FieldNames_Leave (Object, EventArgs)

Purpose: Event handler for the Leave event for the Index FieldNames field
Notes:

Parameters:
sender System.Object
The reference to the object that raised this error
e System.EventArgs
The System.EventArgs with the data for this event
Top

PUBLIC StoreValuesForCopy ()

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Store the Current Values of all Controls on a SmartViewerControl
and do the same in all SmartGroupAssignTargets.
This Method is called by CreateRecord from the current Class.
Enforced by Interface ISmartGroupAssignTarget.
Notes:

Top

PUBLIC SubscribeControlEventHandler (Control, character, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Subscribes a Control to an Event Handler in the Viewer Logic Class
Notes: The event handler method needs to be PROTECTED in the Viewer Logic Class

Parameters:
poControl System.Windows.Forms.Control
The Control contained in the Viewer
pcEventName CHARACTER
The name of the event to subscribe
pcHandlerName CHARACTER
The name of the control event handler method
Top

PUBLIC SubscribeParentFormDestroyed ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Subscribes the ParentFormDestroyed event
Notes:

Top

PROTECTED SubscribeUserControlEvents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Allows for custom event subscriptions during OnLoad()
Notes: Intended to be overridden in the inheriting user control

Top

PUBLIC TextChangedEventHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event handler for the TextChangedEvent event of Editor Controls on
the SmartViewerControl.
Initiate switching to the ModifyingData Mode if the user enters data.
Notes: This Method is executed every time data changes in the EditorControls
of a SmartViewerControl.
Enforced by Interface ISmartGroupAssignSource.

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 VisualValidate ()

Overrides Consultingwerk.SmartComponents.Base.SmartViewerControl:VisualValidate ()
Purpose: Validate data entered into the DataFields
Notes:

Top

PUBLIC IWidgetFacade WidgetHandle (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Returns the WidgetFacade for the given widget
Notes:

Parameters:
pcName CHARACTER
The name of the widget to return the name for
Returns IWidgetFacade
The IWidgetFacade reference or ? when the widget cannot be located


Constructor Detail
Top

PUBLIC IndexViewerControl ()

Purpose: Constructor for the MemberTableViewerControl class
Notes:



Event Detail
Top

PUBLIC AddedRecordModifiedChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raised when the value of the AddedRecordModified property changes
Notes:

Delegate: System.EventHandler
Top

PUBLIC AddingRecordChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the AddingRecord Property is changed
Notes:

Delegate: System.EventHandler
Top

PUBLIC AfterAddRecord DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the viewer has successfully started an Add
operation
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.EventHandler
Top

PUBLIC AfterCancelledUpdate (Object, AfterCancelledUpdateEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the viewer has successfully cancelled an update
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner
This event fires after the AfterCancelUpdate has fired and all update
status is reset

Parameters:
sender System.Object
The reference to the control that raised the event
e Consultingwerk.SmartComponents.Base.AfterCancelledUpdateEventArgs
The AfterCancelledUpdateEventArgs with the data for this event
Top

PUBLIC AfterCancelUpdate DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the viewer has successfully cancelled an update
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.EventHandler
Top

PUBLIC AfterCopyRecord DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the viewer has successfully started a Copy operation
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.EventHandler
Top

PUBLIC AfterDeleteRecord DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the viewer has successfully deleted a record.
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.EventHandler
Top

PUBLIC AfterFieldsEnabled DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raised after the fields have been enabled
Notes:

Delegate: System.EventHandler
Top

PUBLIC AfterSaveChanges DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the viewer has successfully saved changes
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.EventHandler
Top

PUBLIC BeforeAddRecord DELEGATE System.ComponentModel.CancelEventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the Viewer starts adding a new record.
This event is cancelable
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.ComponentModel.CancelEventHandler
Top

PUBLIC BeforeCancelUpdate DELEGATE System.ComponentModel.CancelEventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the Viewer begins cancelling an update.
This event is cancellable
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.ComponentModel.CancelEventHandler
Top

PUBLIC BeforeCopyRecord DELEGATE System.ComponentModel.CancelEventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the Viewer begins copying a record.
This event is cancellable
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.ComponentModel.CancelEventHandler
Top

PUBLIC BeforeDeleteRecord DELEGATE System.ComponentModel.CancelEventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the Viewer starts deleting a record.
This event is cancellable
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.ComponentModel.CancelEventHandler
Top

PUBLIC BeforeEnableFields (Object, CancelableEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raised before the fields are enabled
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the BeforeEnableFields event
e Consultingwerk.CancelableEventArgs
The CancelableEventArgs with the data for the event
Top

PUBLIC BeforeSaveChanges DELEGATE System.ComponentModel.CancelEventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the Viewer starts saving a record.
This event is cancellable
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.ComponentModel.CancelEventHandler
Top

PUBLIC CopyingRecordChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raised when the CopyingRecord property has changed
Notes:

Delegate: System.EventHandler
Top

PUBLIC CurrentChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the current record changes
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.EventHandler
Top

PUBLIC FieldsDisabled DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the fields of this viewer become disabled
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.EventHandler
Top

PUBLIC FieldsEnabled DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the fields of this viewer become enabled
Notes: This event is defined using a .NET delegate, so it will show in
the PropertyGrid of the VisualDesigner

Delegate: System.EventHandler
Top

PUBLIC FocusControlOnAddChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the FocusControlOnAdd property changes
Notes:

Delegate: System.EventHandler
Top

PUBLIC FocusControlOnUpdateChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the FocusControlOnUpdate property changes
Notes:

Delegate: System.EventHandler
Top

PUBLIC GenericEvent (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raised from custom logic
Notes: Support raising an event from a viewer logic class

Parameters:
sender Progress.Lang.Object
The object that raised the GenericEvent event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event
Top

PUBLIC InitializingChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the Initializing property changes
Notes:

Delegate: System.EventHandler
Top

PUBLIC SmartDataSourceChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the SmartDataSource Property is changed
Notes:

Delegate: System.EventHandler
Top

PUBLIC SmartGroupAssignSourceChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the SmartGroupAssignSource Property is changed
Notes:

Delegate: System.EventHandler
Top

PUBLIC SmartTableIOSourceChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired when the SmartTableIOSource Property is changed
Notes:

Delegate: System.EventHandler
Top

PUBLIC SmartTableIOStateChanged (Object, SmartTableIOStateChangedEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Event fired whenever the SmartTableIOState property has changed
Notes:

Parameters:
sender System.Object
The object that raised the event
e Consultingwerk.SmartComponents.Base.SmartTableIOStateChangedEventArgs
The SmartTableIOStateChangedEventArgs with the data for this event
Top

PUBLIC VisualValidating DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl
Purpose: Raised when the Viewer performs Visual Validation
Notes: May be used by Subscribers to current screen values before validation

Delegate: System.EventHandler


Property Detail
Top

PUBLIC LOGICAL ActivateCurrentGridRowDuringEdit

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC LOGICAL AddedRecordModified

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC LOGICAL AddingRecord

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC LOGICAL AllowCloseOfUnmodifiedNewRecord

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC LOGICAL CancellingUpdate

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC LOGICAL CopyingRecord

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PUBLIC LOGICAL DisallowUpdateDuringAnotherUpdate

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC LOGICAL DisallowUpdateDuringAnotherUpdateDefault

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC LOGICAL EventHandlerActive

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC Control FocusControlOnAdd

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns Control
Top

PUBLIC Control FocusControlOnUpdate

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns Control
Top

PROTECTED CHARACTER HiddenProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PUBLIC LOGICAL Initializing

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource LinkDataSource

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignGroupAssignSource LinkGroupAssignSource

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignGroupAssignSource
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignTableIOSource LinkTableIOSource

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignTableIOSource
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignToolbarSource LinkToolbarSource

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignToolbarSource
Top

PROTECTED CHARACTER NonBrowsableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PROTECTED Consultingwerk.SmartComponents.Base.SmartViewerOptionalFeatures OptionalFeatures

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns Consultingwerk.SmartComponents.Base.SmartViewerOptionalFeatures
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PUBLIC LOGICAL ReadOnlyDisabled

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC LOGICAL SaveMode

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC LOGICAL SavingChanges

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC CHARACTER SecurityKey

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns CHARACTER
Top

PUBLIC ISmartDataSource SmartDataSource

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns ISmartDataSource
Top

PUBLIC ISmartGroupAssignSource SmartGroupAssignSource

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns ISmartGroupAssignSource
Top

PUBLIC Consultingwerk.SmartComponents.Base.ListISmartGroupAssignTarget SmartGroupAssignTargets

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns Consultingwerk.SmartComponents.Base.ListISmartGroupAssignTarget
Top

PUBLIC ISmartTableIOSource SmartTableIOSource

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns ISmartTableIOSource
Top

PUBLIC CHARACTER SmartTableIOState

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns CHARACTER
Top

PUBLIC ISmartToolbarSource SmartToolbarSource

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns ISmartToolbarSource
Top

PROTECTED LOGICAL TextChangedHandlerSuspended

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC Consultingwerk.SmartComponents.Enum.UpdateStateEnum UpdateState

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns Consultingwerk.SmartComponents.Enum.UpdateStateEnum
Top

PUBLIC LOGICAL UseBusinessEntityDescriptor

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PROTECTED LOGICAL UserControlEventsSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PUBLIC LOGICAL ValidateChildrenOnSaveChanges

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns LOGICAL
Top

PUBLIC CHARACTER ViewerLogicClass

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns CHARACTER
Top

PUBLIC ISmartViewerLogic ViewerLogicObject

Inherited from Consultingwerk.SmartComponents.Base.SmartViewerControl

Returns ISmartViewerLogic


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 18:36:05