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
Purpose: Name of the Type of SmartDataObjectAdapter used to lookup
values from the backend.
Notes: Modified from a child class only



Top Method Summary
Options Name Purpose
+ AddLookupEditorButton () This Method is used to add a LookupButton to the Control and sets Key and Text Properties.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# AssignLookupKeyValue () Assigns the Lookup Key Value to the column of the owning grid
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# AssignValueToCell (UltraGridCell, character) Assigns a Character Value to a Cell
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ Cleanup () Cleanup Method for the Lookup Control
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# DesignerOpenSmartDataObject () Selects a SmartDataObject during design time
# DisposedHandler (Object, EventArgs) Event handler for the Disposed event of the SmartLookup instance
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ AttributeCollection GetAttributes () Returns a collection of custom attributes for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER GetClassName () Returns the class name of this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER GetComponentName () Returns the name of this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ TypeConverter GetConverter () Returns a type converter for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ EventDescriptor GetDefaultEvent () Returns the default event for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ PropertyDescriptor GetDefaultProperty () Returns the default property for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ System.Object GetEditor (Type) Returns an editor of the specified type for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ EventDescriptorCollection GetEvents () Returns the events for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ EventDescriptorCollection GetEvents (Attribute[]) Returns the events for this instance of a component using the specified attribute array as a filter.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER GetLookupRegistryKey () This Method returns a Registry Key where the Lookup size and position is stored for each Lookup.
Overrides Consultingwerk.SmartComponents.Base.SmartLookup:GetLookupRegistryKey ()
+ PropertyDescriptorCollection GetProperties () Returns the properties for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ PropertyDescriptorCollection GetProperties (Attribute[]) Returns the properties for this instance of a component using the attribute array as a filter.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ System.Object GetPropertyOwner (PropertyDescriptor) Returns an object that contains the property described by the specified property descriptor.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# HandleKeyDown (KeyEventArgs) Handles F3 key to invoke ShowLookupDialog method. This Method is executed when the KeyDown Event of the base class is fired.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# InitializeTimer () Initializes the Timer Component
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# InitializeTimer2 () Initializes the second Timer Component
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# LookupBrowserInitializeLayoutHandler (Object, InitializeLayoutEventArgs) Handles the InitializeLayout event of the Lookup Browser
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# LookupTimer2Tick (Object, EventArgs) Event Handler for the Tick event of the second Lookup Timer Component
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# LookupTimerTick (Object, EventArgs) Event Handler for the Tick event of the Lookup Timer Component
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnAfterPerformLookup (EventArgs) Raises the OnAfterPerformLookup event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnBeforePerformLookup (CancelEventArgs) Raises the BeforePerformLookup event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnEditorButtonClick (EditorButtonEventArgs) Raises the Invokes the EditorButtonClick event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnEnabledChanged (EventArgs) Raises the EnabledChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnInitializeLookupBrowserLayout (InitializeLookupBrowserLayoutEventArgs) Raises the InitializeLookupBrowserLayout event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnKeyDown (KeyEventArgs) Handles F3 key to invoke ShowLookupDialog method. This Method is executed when the KeyDown Event of the base class is fired.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnKeyPress (KeyPressEventArgs) Raises the KeyPress event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnLeave (EventArgs) Raises the Leave event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnLookupComplete (EventArgs) Raises the LookupComplete event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnLookupCompleted (EventArgs) Raises the LookupCompleted event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnShowLookupDialog (CancelEventArgs) Raises the ShowLookupDialog event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnTextChanged (EventArgs) Raises the TextChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnValueChanged (EventArgs) Raises the ValueChanged event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ OnVerbClicked (character) Event Handler method for Designer Verbs
Overrides Consultingwerk.SmartComponents.Base.SmartLookup:OnVerbClicked (character)
+ PerformKeyDown (KeyEventArgs) Performs the KeyDown event for an embedded SmartLookup
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ PerformKeyPress (KeyPressEventArgs) Performs the KeyPress event for an embedded SmartLookup
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ PerformLeave (CancelEventArgs) Performs the Leave (BeforeCellDeactivate) event for an embedded SmartLookup
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ 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
Overrides Consultingwerk.SmartComponents.Base.SmartLookup:PerformLookup ()
# PerformLookup (logical) Performs lookup when user presses a key in the lookup field
Overrides Consultingwerk.SmartComponents.Base.SmartLookup:PerformLookup (logical)
+ LOGICAL PerformLookupIfActive () Calls PerformLookup only if the LookupTimer is currently enabled
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
- 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.
Overrides Consultingwerk.SmartComponents.Base.SmartLookup:ShowLookupDialog ()
# StartTimer () Activates the Lookup Timer Component
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ StopTimer () Deactivates the Lookup Timer Component
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# UpdateCellsWithEmbeddedEditors () Updates cells in a Grid with values from embedded editors in case the lookup is owned by a grid
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

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

Top Event Summary
Options Name Purpose
+ AfterPerformLookup DELEGATE System.EventHandler Event raised after the lookup has performed a search
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ BeforePerformLookup DELEGATE System.ComponentModel.CancelEventHandler Event raised before the lookup performs a search
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ InitializeLookupBrowserLayout (Object, InitializeLookupBrowserLayoutEventArgs) Event raised when the Lookup Dialog's browser is performing it's layout
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ LookupComplete DELEGATE System.EventHandler Event raised when the Lookup has returned a record
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ ShowLookupDialog DELEGATE System.ComponentModel.CancelEventHandler Event raised before the Lookup Dialog is shown
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Top Property Summary
Options Name Purpose
+ CHARACTER AdapterType
+ CharacterDictionary AdditionalLookupFieldValues
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ LOGICAL AddLookupButton
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER BindableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER CategorizedProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER CategoryProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DescribedProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DescriptionProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DesignerVerbs
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DesignerVisibilityAttributes
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DesignerVisibilityProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# LOGICAL DesignTime
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ LOGICAL FetchDataFromKeyValueOnNavigate
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ LOGICAL FetchDataOnNavigate
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER HiddenProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupAdditionalFields
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupBrowserExcludeFields
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupBrowserFields
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# LOGICAL LookupClearPending
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupControls
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupDialogFilterFields
+ CHARACTER LookupDialogFilterOperators
+ CHARACTER LookupDialogTitle
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupFields
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupKeyField
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupSmartDataObjectName
+ System.Windows.Forms.Timer LookupTimer
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ System.Windows.Forms.Timer LookupTimer2
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ INTEGER LookupTimerDelay
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ LOGICAL LookupTimerDisabled
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER NonBrowsableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ NumericTypeEnum NumericType
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ UltraGrid OwningGrid
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup


Method Detail
Top

PUBLIC AddLookupEditorButton ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: This Method is used to add a LookupButton to the Control and sets
Key and Text Properties.
Notes: Invoked by the Property setter of AddLookupButton or the Designer Verb

Top

PROTECTED AssignLookupKeyValue ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Assigns the Lookup Key Value to the column of the owning
grid
Notes:

Top

PROTECTED AssignValueToCell (UltraGridCell, character)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Assigns a Character Value to a Cell
Notes:

Parameters:
poCell UltraGridCell
The UltraGridCell to assign the value to
pcValue CHARACTER
The value to assign to the cell
Top

PUBLIC Cleanup ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Cleanup Method for the Lookup Control
Notes:

Top

PROTECTED CreateVerbs ()

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

Top

PROTECTED DesignerOpenSmartDataObject ()

Purpose: Selects a SmartDataObject during design time
Notes:

Top

PROTECTED DisposedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Event handler for the Disposed event of the SmartLookup instance
Notes: Not subscribed during development, stops the Lookup Timer if it
should still be active

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

PUBLIC AttributeCollection GetAttributes ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns a collection of custom attributes for this instance of a
component.
Notes:

Returns AttributeCollection
The System.ComponentModel.AttributeCollection describing the types attributes
Top

PUBLIC CHARACTER GetClassName ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns the class name of this instance of a component.
Notes:

Returns CHARACTER
The class name of the Component
Top

PUBLIC CHARACTER GetComponentName ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns the name of this instance of a component.
Notes:

Returns CHARACTER
The Component Name of this instance
Top

PUBLIC TypeConverter GetConverter ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns a type converter for this instance of a component.
Notes:

Returns TypeConverter
The System.ComponentModel.TypeConverter for this instance of a component.
Top

PUBLIC EventDescriptor GetDefaultEvent ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns the default event for this instance of a component.
Notes:

Returns EventDescriptor
The System.ComponentModel.EventDescriptor for the default event of this component
Top

PUBLIC PropertyDescriptor GetDefaultProperty ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns the default property for this instance of a component.
Notes:

Returns PropertyDescriptor
The System.ComponentModel.PropertyDescriptor for the default property of the component
Top

PUBLIC System.Object GetEditor (Type)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns an editor of the specified type for this instance of a
component.
Notes:

Parameters:
editorBaseType System.Type
A System.Type that represents the editor for this object.
Returns System.Object
The reference to the Editor of the type of the component instance
Top

PUBLIC EventDescriptorCollection GetEvents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns the events for this instance of a component.
Notes:

Returns EventDescriptorCollection
The System.ComponentModel.EventDescriptorCollection describing the events of the component
Top

PUBLIC EventDescriptorCollection GetEvents (Attribute[])

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns the events for this instance of a component using the
specified attribute array as a filter.
Notes:

Parameters:
attributes System.Attribute[]
A System.Attribute[] that is used as a filter.
Returns EventDescriptorCollection
The System.ComponentModel.EventDescriptorCollection describing the events of the component
Top

PUBLIC CHARACTER GetLookupRegistryKey ()

Overrides Consultingwerk.SmartComponents.Base.SmartLookup: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

PUBLIC PropertyDescriptorCollection GetProperties ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns the properties for this instance of a component.
Notes:

Returns PropertyDescriptorCollection
A System.ComponentModel.PropertyDescriptorCollection that represents the properties for this component instance.
Top

PUBLIC PropertyDescriptorCollection GetProperties (Attribute[])

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns the properties for this instance of a component using the
attribute array as a filter.
Notes:

Parameters:
attributes System.Attribute[]
A System.Attribute[] that is used as a filter.
Returns PropertyDescriptorCollection
A System.ComponentModel.PropertyDescriptorCollection that represents the properties for this component instance.
Top

PUBLIC System.Object GetPropertyOwner (PropertyDescriptor)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Returns an object that contains the property described by the
specified property descriptor.
Notes:

Parameters:
pd PropertyDescriptor
A System.ComponentModel.PropertyDescriptor that represents the property whose owner is to be found.
Returns System.Object
An System.Object that represents the owner of the specified property.
Top

PROTECTED HandleKeyDown (KeyEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Handles F3 key to invoke ShowLookupDialog method.
This Method is executed when the KeyDown Event of the base class is
fired.
Notes:

Parameters:
e KeyEventArgs
System.Windows.Forms.KeyEventArgs
Top

PROTECTED InitializeTimer ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Initializes the Timer Component
Notes:

Top

PROTECTED InitializeTimer2 ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Initializes the second Timer Component
Notes:

Top

PROTECTED LookupBrowserInitializeLayoutHandler (Object, InitializeLayoutEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Handles the InitializeLayout event of the Lookup Browser
Notes:

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

PROTECTED LookupTimer2Tick (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Event Handler for the Tick event of the second Lookup Timer Component
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 LookupTimerTick (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Event Handler for the Tick event of the Lookup Timer Component
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 OnAfterPerformLookup (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the OnAfterPerformLookup event
Notes: Invoked after the Lookup has fetched data

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

PROTECTED OnBeforePerformLookup (CancelEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the BeforePerformLookup event
Notes: Cancellable event, raised when the user leaves the Lookup field or
after changing the Text in the Lookup Control and waiting for the
LookupTimer to fire

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

PROTECTED OnEditorButtonClick (EditorButtonEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the Invokes the EditorButtonClick event
Notes:

Parameters:
e Infragistics.Win.UltraWinEditors.EditorButtonEventArgs
The EditorButtonEventArgs with the data for this event
Top

PROTECTED OnEnabledChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the EnabledChanged event
Notes: Stops the Lookup timer when the Control get's disabled

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

PROTECTED OnInitializeLookupBrowserLayout (InitializeLookupBrowserLayoutEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the InitializeLookupBrowserLayout event
Notes:

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

PROTECTED OnKeyDown (KeyEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Handles F3 key to invoke ShowLookupDialog method.
This Method is executed when the KeyDown Event of the base class is
fired.
Notes:

Parameters:
e KeyEventArgs
System.Windows.Forms.KeyEventArgs
Top

PROTECTED OnKeyPress (KeyPressEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the KeyPress event
Notes: Starts the Lookup Timer when the Control has Focus

Parameters:
e System.Windows.Forms.KeyPressEventArgs
The KeyPressEventArgs with the data for this event
Top

PROTECTED OnLeave (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the Leave event
Notes: When the Control Leave event occurs the TimerTick event is
simulated, so that the lookup will be performed

Parameters:
e System.EventArgs
Default .NET System.EventArgs (empty event argument)
Top

PROTECTED OnLookupComplete (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the LookupComplete event
Notes: Invokes the LookupCompleted call back in the SmartViewerControl
(when ILookupCompleteCallback is implemented).
This Method is called by ShowLookupDialog in a SmartLookup derived
class to perform the callback to the container.

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

PROTECTED OnLookupCompleted (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the LookupCompleted event
Notes: Method left for backwards compatibility due to type. Please use the
new method OnLookupComplete which matches the name of the event

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

PROTECTED OnShowLookupDialog (CancelEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the ShowLookupDialog event
Notes: Cancellable event

Parameters:
e System.ComponentModel.CancelEventArgs
Default .NET CancelEventArgs (cancellable event argument)
Top

PROTECTED OnTextChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the TextChanged event
Notes: Sets the Lookup pending property when not using the Lookup timer

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

PROTECTED OnValueChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the ValueChanged event
Notes: Sets the Lookup pending property when not using the Lookup timer

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

PUBLIC OnVerbClicked (character)

Overrides Consultingwerk.SmartComponents.Base.SmartLookup:OnVerbClicked (character)
Purpose: Event Handler method for Designer Verbs
Notes:

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

PUBLIC PerformKeyDown (KeyEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Performs the KeyDown event for an embedded SmartLookup
Notes: Only supported when the lookup is used as an embedded editor

Parameters:
e KeyEventArgs
The KeyEventArgs of the original UltraGrid event
Top

PUBLIC PerformKeyPress (KeyPressEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Performs the KeyPress event for an embedded SmartLookup
Notes: Only supported when the lookup is used as an embedded editor

Parameters:
e KeyPressEventArgs
The KeyPressEventArgs of the original UltraGrid event
Top

PUBLIC PerformLeave (CancelEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Performs the Leave (BeforeCellDeactivate) event for an embedded SmartLookup
Notes: Only supported when the lookup is used as an embedded editor

Parameters:
e CancelEventArgs
The CancelEventArgs of the original UltraGrid event
Top

PUBLIC PerformLookup ()

Overrides Consultingwerk.SmartComponents.Base.SmartLookup: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

PROTECTED PerformLookup (logical)

Overrides Consultingwerk.SmartComponents.Base.SmartLookup: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

PUBLIC LOGICAL PerformLookupIfActive ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Calls PerformLookup only if the LookupTimer is currently enabled
Notes: Called by the SmartViewerControl at the begin of a Save operations

Returns LOGICAL
Logical value indicating if PerformLookup was invoked
Top

PRIVATE SetDesignerProperties ()

Purpose: Sets Properties to customize Visual Designer behavior
Notes:

Top

PUBLIC ShowLookupDialog ()

Overrides Consultingwerk.SmartComponents.Base.SmartLookup: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 result set 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.

Top

PROTECTED StartTimer ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Activates the Lookup Timer Component
Notes:

Top

PUBLIC StopTimer ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Deactivates the Lookup Timer Component
Notes:

Top

PROTECTED UpdateCellsWithEmbeddedEditors ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Updates cells in a Grid with values from embedded editors in case
the lookup is owned by a grid
Notes: This method requires that the embedded editors are data bound to binding
source columns



Constructor Detail
Top

PUBLIC SmartDataObjectLookup ()

Purpose: Constructor of the SmartDataObjectLookup control
Notes:



Event Detail
Top

PUBLIC AfterPerformLookup DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Event raised after the lookup has performed a search
Notes:

Delegate: System.EventHandler
Top

PUBLIC BeforePerformLookup DELEGATE System.ComponentModel.CancelEventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Event raised before the lookup performs a search
Notes: The cancellable event is raised before the Lookup action is performed.
The event still allows to modify properties relevant to the Lookup
(such as modifying the LookupQueryString)

Delegate: System.ComponentModel.CancelEventHandler
Top

PUBLIC InitializeLookupBrowserLayout (Object, InitializeLookupBrowserLayoutEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Event raised when the Lookup Dialog's browser is performing it's
layout
Notes:

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

PUBLIC LookupComplete DELEGATE System.EventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Event raised when the Lookup has returned a record
Notes:

Delegate: System.EventHandler
Top

PUBLIC ShowLookupDialog DELEGATE System.ComponentModel.CancelEventHandler

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Event raised before the Lookup Dialog is shown
Notes: The cancelable event is raised before the Lookup Dialog is
instantiated and shown. This event still allows to modify properties
relevant for the Lookup Dialog.

Delegate: System.ComponentModel.CancelEventHandler


Property Detail
Top

PUBLIC CHARACTER AdapterType


Returns CHARACTER
Top

PUBLIC CharacterDictionary AdditionalLookupFieldValues

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CharacterDictionary
Top

PUBLIC LOGICAL AddLookupButton

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns LOGICAL
Top

PROTECTED CHARACTER BindableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PROTECTED CHARACTER CategorizedProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PROTECTED CHARACTER CategoryProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PROTECTED CHARACTER DescribedProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PROTECTED CHARACTER DescriptionProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityAttributes

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PROTECTED LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns LOGICAL
Top

PUBLIC LOGICAL FetchDataFromKeyValueOnNavigate

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns LOGICAL
Top

PUBLIC LOGICAL FetchDataOnNavigate

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PUBLIC CHARACTER LookupAdditionalFields

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PUBLIC CHARACTER LookupBrowserExcludeFields

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PUBLIC CHARACTER LookupBrowserFields

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PROTECTED LOGICAL LookupClearPending

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns LOGICAL
Top

PUBLIC CHARACTER LookupControls

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogFilterFields


Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogFilterOperators


Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogTitle

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PUBLIC CHARACTER LookupFields

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PUBLIC CHARACTER LookupKeyField

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PUBLIC CHARACTER LookupSmartDataObjectName


Returns CHARACTER
Top

PUBLIC System.Windows.Forms.Timer LookupTimer

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns System.Windows.Forms.Timer
Top

PUBLIC System.Windows.Forms.Timer LookupTimer2

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns System.Windows.Forms.Timer
Top

PUBLIC INTEGER LookupTimerDelay

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns INTEGER
Top

PUBLIC LOGICAL LookupTimerDisabled

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns LOGICAL
Top

PROTECTED CHARACTER NonBrowsableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns CHARACTER
Top

PUBLIC NumericTypeEnum NumericType

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns NumericTypeEnum
Top

PUBLIC UltraGrid OwningGrid

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup

Returns UltraGrid


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:01:51