Namespace: Consultingwerk.SmartComponents.Implementation
Class 
SmartDataObjectLookup Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartLookup
Implements: ICustomTypeDescriptor, IEmbeddedSmartEditor, IHasDesignerVerbs, ISupportsPerformLookupIfActive

File:SmartDataObjectLookup
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Jun 24 23:01:03 CEST 2010



Top Method Summary
Options Name Purpose
DesignerOpenSmartDataObject () Selects a SmartDataObject during design time
CHARACTER GetLookupRegistryKey () This Method returns a Registry Key where the Lookup size and position is stored for each Lookup.
OnVerbClicked (character) Event Handler method for Designer Verbs
PerformLookup () Performs the lookup functionality, performs a call to the data source to retrieve the record based on the field value the user entered in the lookup control
PerformLookup (logical) Performs lookup when user presses a key in the lookup field
SetDesignerProperties () Sets Properties to customize Visual Designer behavior
ShowLookupDialog () A LookupDialog is shown with the Data Information specified with the Properties LookupEntityName, LookupEntityTable and LookupEntityView.

Top Constructor Summary
Options Name Purpose
SmartDataObjectLookup () Constructor of the SmartDataObjectLookup control

Top Property Summary
Options Name Purpose
CHARACTER AdapterType
CHARACTER LookupDialogFilterFields
CHARACTER LookupDialogFilterOperators
CHARACTER LookupSmartDataObjectName


Method Detail
Top

DesignerOpenSmartDataObject ()

Purpose: Selects a SmartDataObject during design time
Notes:

Top

CHARACTER GetLookupRegistryKey ()

Purpose: This Method returns a Registry Key where the Lookup size and position
is stored for each Lookup.
Notes: The Name of the Key is individual buildable.

Returns CHARACTER
The registry key to use for the lookup
Top

OnVerbClicked (character)

Purpose: Event Handler method for Designer Verbs
Notes:

Parameters:
pcVerbText CHARACTER
The text indicating the verb that was clicked
Top

PerformLookup ()

Purpose: Performs the lookup functionality, performs a call to the data source
to retrieve the record based on the field value the user entered
in the lookup control
Notes: Abstract method that needs to be overridden in a more specialized
Lookup class, public method, that always assumes that the lookup has
no longer focus. Calls into PerformLookup (TRUE).

Top

PerformLookup (logical)

Purpose: Performs lookup when user presses a key in the lookup field
Notes:

Parameters:
plLostFocus LOGICAL
Logical value indicating if the Lookup is made because the focus is lost
Top

SetDesignerProperties ()

Purpose: Sets Properties to customize Visual Designer behavior
Notes:

Top

ShowLookupDialog ()

Purpose: A LookupDialog is shown with the Data Information specified with the
Properties LookupEntityName, LookupEntityTable and LookupEntityView.
Notes: This Method is called from the Base Class if a user presses the
LookupEditorButton in RunTime.
A LookupDialog is set up with a Title and Data from the Backend
defined by the Properties LookupEntityName, LookupEntityTable and
LookupEntityView. The shown Columns of the resultset can be limited
by providing a comma delimited list to the Property
LookupBrowserFields. The LookupKeyField is the field used to find
the correct Data Row when coming back from the Dialog. When the
OK Button was selected the related fields are recursively updated.



Constructor Detail
Top

SmartDataObjectLookup ()

Purpose: Constructor of the SmartDataObjectLookup control
Notes:



Property Detail
Top

CHARACTER AdapterType


Returns CHARACTER
Top

CHARACTER LookupDialogFilterFields


Returns CHARACTER
Top

CHARACTER LookupDialogFilterOperators


Returns CHARACTER
Top

CHARACTER LookupSmartDataObjectName


Returns CHARACTER


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