Namespace: Consultingwerk.SmartComponents.Base
Class 
SmartBusinessEntityLookupDesign Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartLookup
Implements: Consultingwerk.SmartComponents.ILookupKeyValue, ICustomTypeDescriptor, Consultingwerk.SmartComponents.Interfaces.IEmbeddedSmartEditor, IHasDesignerVerbs, Consultingwerk.SmartComponents.Interfaces.ISmartBusinessEntityLookupDesign
Inherited by: Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityLookup
ABSTRACT

File:SmartBusinessEntityLookupDesign
Description:Implements ISmartBusinessEntityDesign, intended to allow
reuse of the SmartLookupDesignerSupport code with
alternative implementations of the SmartBusinessEntityLookup
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Apr 01 13:29:32 CEST 2011



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
# AssignValueToCell (UltraGridCell, character) Assigns a Character Value to a Cell
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# DisposedHandler (Object, EventArgs) Event handler for the Disposed event of the SmartLookup instance
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# ExportLookupDefinition () Exports a Lookup definition to a file
+ 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
+ System.ComponentModel.IContainer GetContainer () Returns a reference to the Container component/control
+ 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 () Prototype of the method GetLookupRegistryKey which can be used inside the LookupDialog class to set and store f.e. size and position of the Form.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ 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
# ImportLookupDefinition () Imports a Lookup Definition from a file
# InitializeTimer () Initializes the 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
# 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
# OnLookupCompleted (EventArgs) Raises the LookupCompleted event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnLookupKeyValueChanged (EventArgs) Raises the KeyValueChanged event
# OnShowLookupDialog (CancelEventArgs) Raises the ShowLookupDialog event
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# OnValueChanged (EventArgs) Raises the Value changed 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
+ A PerformLookup () Performs the lookup functioanlity, performs a call to the data source to retrieve the record based on the field value the user entered in the lookup control
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# A PerformLookup (logical) Performs the lookup functioanlity, performs a call to the data source to retrieve the record based on the field value the user entered in the lookup control
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ PerformLookupIfActive () Calls PerformLookup only if the LookupTimer is currently enabled
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
- SetDesignerProperties () Sets Properties to customize Visual Designer behaviour
# ShowBusinessEntityPickerDialog () Shows a dialog to select a Business Entity
# ShowLookupDesigner () Invokes ther Lookup Designer Dialog
# A ShowLookupDialog () Shows the Lookup Dialog
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# ShowLookupDialogPickerDialog () Invokes the Lookup Dialog Picker Dialog and sets properties of the SmartBusinessEntityLookup during Design Time
# ShowTablePickerDialog () Invokes the Table Picker Dialog and sets properties of the SmartBusinessEntityLookup during Design Time
# 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
+ SmartBusinessEntityLookupDesign () Constructor of the SmartBusinessEntityLookupDesign class

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
+ LookupKeyValueChanged DELEGATE System.EventHandler Raised when the LookupKeyValue property has changed
+ 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
+ LOGICAL AddLookupButton This Property is used to perform the Action to add a LookupButton to the Control. The Value of this Property is not changed but the Button is added to the Control when temporarily set to TRUE.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER BindableProperties Property that is used to mark properties (comma-delimited list) that should be Data-Bindable
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER CategorizedProperties Property that is used to mark properties (comma-delimited list) that should receive a Category attribute
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER CategoryProperties Categories of the Property in the CategorizedProperty list
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DescribedProperties Property that is used to mark properties (comma-delimited list) that should receive a Description attribute
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DescriptionProperties Description of the Property in the DescribedProperties list
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DesignerVerbs Property that is used to generate Designer Verbs (actions for the Visual Designer)
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DesignerVisibilityAttributes The CHARACTER representation of the DesignerSerializationVisibiltiy attribute (Content/Visible/Hidden), see .NET Enumeration System.ComponentModel.DesignerSerializationVisibility
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER DesignerVisibilityProperties Property that is used to mark properties (comma-delimited list) that should receive a DesignerSerializationVisibility Attribute
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# LOGICAL DesignTime Propery flags if the current instance of the SmartBindingSource is running at design time or runtime.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER HiddenProperties Property that is used to mark properties (comma-delimited list) that will be excluded from the .NET TypeDescriptor properties list
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupAdditionalFields Gets and sets the comma delimited list of additional fields that will be retrieved by the lookup operations
+ CHARACTER LookupBrowserExcludeFields Columns (comma delimited list of Column Names) not to be shown in the LookupBrowser.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupBrowserFields Columns (comma delimited list of Column Names) to be shown in the LookupBrowser.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ LOGICAL LookupCascade Gets and sets if the SmartBusinessEntityLookup instance cascades the PerformLookup activity to linked (child) lookups
# LOGICAL LookupClearPending Controls if a clear is pending - that is if a previous PerformLookup did not return a record - but did not clear the key value. In that case the key value needs to be cleared on LostFocus
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupControls A comma seperated list of Control names. The value of the corresponding Columns gets filled into those Controls. The value of this Property is defined during DesignTime.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupDialogClassName Gets and Sets the Class Name of the Lookup Dialog Form
+ CHARACTER LookupDialogFilterFields Fields that allow to Filter on the Lookup Browser Dialog
+ CHARACTER LookupDialogFilterOperators Operators for the LookupDialogFilterFields
+ LOGICAL LookupDialogOpenQuery Option to open the Lookup Dialog Query when the dialog is opened
+ CHARACTER LookupDialogQuerySort QuerySort used when opening the Lookup Browser Dialog
+ CHARACTER LookupDialogQueryString QueryString used when opening the Lookup Browser Dialog
+ CHARACTER LookupDialogTitle Dialog title for the LookupDialogForm. The value of this Property is defined during DesignTime.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupEntityName Name of the BusinessEntity for the Lookup. This Property is set by the Developer during DesignTime.
+ CHARACTER LookupEntityTable RootTable for this Instance of the BusinessEntityLookup. This Property is set by the Developer during DesignTime.
+ CHARACTER LookupEntityView List of Tables to read with the EntityTable. This Property is set by the Developer during DesignTime.
+ CHARACTER LookupFields A comma seperated list of Column names. The value of those fields gets filled into the corresponding Controls of the Property LookupControls. The value of this Property is defined during DesignTime.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupKeyField The value of the field which is returned by the SmartLookup. The value of this Property is defined during DesignTime.
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ CHARACTER LookupKeyValue Gets/Sets the current KeyValue of the Lookup
+ CHARACTER LookupKeyValueColumn Gets/Sets the name of the Data Source column which is used for retrieving the LookupKeyValue property
+ CHARACTER LookupQuerySort QuerySort used in PerformLookup method
+ CHARACTER LookupQueryString QueryString used in PerformLookup method
+ System.Windows.Forms.Timer LookupTimer The instance of the System.Windows.Forms.Timer component used by this lookup to implement the delayed search
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ INTEGER LookupTimerDelay The number of msecs after a key has been pressed in a SmartLookup until the entered value is looked up. This allows the user to enter multiple keys before the value is looked up (in a data source).
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ LOGICAL LookupTimerDisabled Allows to completely disable the lookup timer functioanlity
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
# CHARACTER NonBrowsableProperties Property that is used to mark properties (comma-delimited list) that should not show up in the Visual Designers Property Grid
Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
+ UltraGrid OwningGrid Gets and sets the reference to the grid that owns this SmartLookup as an Embedded Editor Control for a cell
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 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

PROTECTED CreateVerbs ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Creates Designer Verbs based on the DesignerVerbs property
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

PROTECTED ExportLookupDefinition ()

Purpose: Exports a Lookup definition to a file
Notes:

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 System.ComponentModel.IContainer GetContainer ()

Purpose: Returns a reference to the Container component/control
Notes: We were having issues wirth adding the .NET property Container
to the Interface ISmartBusinessEntityLookup, hence the method

Returns System.ComponentModel.IContainer
The reference to the IContainer of this Control
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 ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Prototype of the method GetLookupRegistryKey which can be used inside
the LookupDialog class to set and store f.e. size and position of the
Form.
Notes: This Method needs to be overridden in a SmartLookup derived class to
return a valid registry key name.

Returns CHARACTER
The Lookup Registry Key
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 ImportLookupDefinition ()

Purpose: Imports a Lookup Definition from a file
Notes:

Top

PROTECTED InitializeTimer ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Initializes the 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 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 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 ocurs 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 OnLookupCompleted (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the LookupCompleted event
Notes: Invokes the LookupCompleted call back in the SmartViewerControl
(when ILookupCompleteCallback is implemented).
Thid 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 OnLookupKeyValueChanged (EventArgs)

Purpose: Raises the KeyValueChanged event
Notes:

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 OnValueChanged (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Raises the Value changed 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: This method is intended to be overridden

Parameters:
pcVerbText CHARACTER
The label of the verb the developer clicked on in the Visual Designer
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 ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Performs the lookup functioanlity, 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 overidden 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)

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Performs the lookup functioanlity, 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 overidden in a more specialized
Lookup class

Parameters:
plLostFocus LOGICAL
Logical value indicating if the PerformLookup was invoked due to a loss of focus
Top

PUBLIC 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

Top

PRIVATE SetDesignerProperties ()

Purpose: Sets Properties to customize Visual Designer behaviour
Notes:

Top

PROTECTED ShowBusinessEntityPickerDialog ()

Purpose: Shows a dialog to select a Business Entity
Notes: Invoked by the "Select BusinessEntity" Designer Verb, only intended
for DesignTime

Top

PROTECTED ShowLookupDesigner ()

Purpose: Invokes ther Lookup Designer Dialog
Notes: Invoked by the "Lookup Designer" Designer Verb, only intended
for DesignTime

Top

PROTECTED ShowLookupDialog ()

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Shows the Lookup Dialog
Notes: This Method needs to be overridden in a SmartLookup derived class.

Top

PROTECTED ShowLookupDialogPickerDialog ()

Purpose: Invokes the Lookup Dialog Picker Dialog and sets properties of the
SmartBusinessEntityLookup during Design Time
Notes: Invoked by the "Select Lookup Dialog" Designer Verb. Only intended for
DesignTime

Top

PROTECTED ShowTablePickerDialog ()

Purpose: Invokes the Table Picker Dialog and sets properties of the
SmartBusinessEntityLookup during Design Time
Notes: Invoked by the "Select Tables" Designer Verb. Only intended for
DesignTime

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

Purpose: Constructor of the SmartBusinessEntityLookupDesign class
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 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 LookupKeyValueChanged DELEGATE System.EventHandler

Purpose: Raised when the LookupKeyValue property has changed
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 LOGICAL AddLookupButton

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: This Property is used to perform the Action to add a LookupButton to
the Control.
The Value of this Property is not changed but the Button is added to
the Control when temporarily set to TRUE.
Notes: Workaround to be able perform actions from Propertygrid.

Returns LOGICAL
Top

PROTECTED CHARACTER BindableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Property that is used to mark properties (comma-delimited list) that
should be Data-Bindable
Notes: C# Annotation: [Bindable(true)]

Returns CHARACTER
Top

PROTECTED CHARACTER CategorizedProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Property that is used to mark properties (comma-delimited list) that
should receive a Category attribute
Notes: C# Annotation: [Category("...")]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER CategoryProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Categories of the Property in the CategorizedProperty list
Notes: C# Annotation: [Category("...")]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DescribedProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Property that is used to mark properties (comma-delimited list) that
should receive a Description attribute
Notes: C# Annotation: [Description("...")]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DescriptionProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Description of the Property in the DescribedProperties list
Notes: C# Annotation: [Description("...")]
This is a CHR(1) delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Property that is used to generate Designer Verbs (actions for the
Visual Designer)
Notes:

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityAttributes

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: The CHARACTER representation of the DesignerSerializationVisibiltiy
attribute (Content/Visible/Hidden), see .NET Enumeration
System.ComponentModel.DesignerSerializationVisibility
Notes: C# Annotation: [DesignerSerializationVisibility(...)]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Property that is used to mark properties (comma-delimited list) that
should receive a DesignerSerializationVisibility Attribute
Notes: C# Annotation: [DesignerSerializationVisibility(...)]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Propery flags if the current instance of the SmartBindingSource
is running at design time or runtime.
Notes: Set during constructor using a check at the
System.ComponentModel.LicenseManager

Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Property that is used to mark properties (comma-delimited list) that
will be excluded from the .NET TypeDescriptor properties list
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupAdditionalFields

Purpose: Gets and sets the comma delimited list of additional fields that
will be retrieved by the lookup operations
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupBrowserExcludeFields

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Columns (comma delimited list of Column Names) not to be shown in the
LookupBrowser.
Notes: The value of this Property is defined during DesignTime.

Returns CHARACTER
Top

PUBLIC CHARACTER LookupBrowserFields

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Columns (comma delimited list of Column Names) to be shown in the
LookupBrowser.
Notes: The value of this Property is defined during DesignTime.

Returns CHARACTER
Top

PUBLIC LOGICAL LookupCascade

Purpose: Gets and sets if the SmartBusinessEntityLookup instance cascades
the PerformLookup activity to linked (child) lookups
Notes: See SCL-345 for details

Returns LOGICAL
Top

PROTECTED LOGICAL LookupClearPending

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Controls if a clear is pending - that is if a previous PerformLookup
did not return a record - but did not clear the key value. In that
case the key value needs to be cleared on LostFocus
Notes:

Returns LOGICAL
Top

PUBLIC CHARACTER LookupControls

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: A comma seperated list of Control names. The value of the corresponding
Columns gets filled into those Controls.
The value of this Property is defined during DesignTime.
Notes: Corresponding to the LookupFields

Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogClassName

Purpose: Gets and Sets the Class Name of the Lookup Dialog Form
Notes: The class needs to implement IBusinessEntityLookupDialogForm and
inherits System.Windows.Forms.Form

Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogFilterFields

Purpose: Fields that allow to Filter on the Lookup Browser Dialog
Notes: Comma-Delimited, first entry is default

Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogFilterOperators

Purpose: Operators for the LookupDialogFilterFields
Notes: Comma-Delimited, first entry is default

Returns CHARACTER
Top

PUBLIC LOGICAL LookupDialogOpenQuery

Purpose: Option to open the Lookup Dialog Query when the dialog is opened
Notes: SCL-673

Returns LOGICAL
Top

PUBLIC CHARACTER LookupDialogQuerySort

Purpose: QuerySort used when opening the Lookup Browser Dialog
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogQueryString

Purpose: QueryString used when opening the Lookup Browser Dialog
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogTitle

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Dialog title for the LookupDialogForm.
The value of this Property is defined during DesignTime.
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupEntityName

Purpose: Name of the BusinessEntity for the Lookup.
This Property is set by the Developer during DesignTime.
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupEntityTable

Purpose: RootTable for this Instance of the BusinessEntityLookup.
This Property is set by the Developer during DesignTime.
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupEntityView

Purpose: List of Tables to read with the EntityTable.
This Property is set by the Developer during DesignTime.
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupFields

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: A comma seperated list of Column names. The value of those fields
gets filled into the corresponding Controls of the Property
LookupControls.
The value of this Property is defined during DesignTime.
Notes: Corresponding to the LookupControls

Returns CHARACTER
Top

PUBLIC CHARACTER LookupKeyField

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: The value of the field which is returned by the SmartLookup.
The value of this Property is defined during DesignTime.
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupKeyValue

Purpose: Gets/Sets the current KeyValue of the Lookup
Notes: Data-Bindable Property

Returns CHARACTER
Top

PUBLIC CHARACTER LookupKeyValueColumn

Purpose: Gets/Sets the name of the Data Source column which is used for
retrieving the LookupKeyValue property
Notes: Data-Bindable Property

Returns CHARACTER
Top

PUBLIC CHARACTER LookupQuerySort

Purpose: QuerySort used in PerformLookup method
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupQueryString

Purpose: QueryString used in PerformLookup method
Notes:

Returns CHARACTER
Top

PUBLIC System.Windows.Forms.Timer LookupTimer

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: The instance of the System.Windows.Forms.Timer component used by
this lookup to implement the delayed search
Notes:

Returns System.Windows.Forms.Timer
Top

PUBLIC INTEGER LookupTimerDelay

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: The number of msecs after a key has been pressed in a SmartLookup
until the entered value is looked up. This allows the user to enter
multiple keys before the value is looked up (in a data source).
Notes: The value of this Property is defined during DesignTime.

Returns INTEGER
Top

PUBLIC LOGICAL LookupTimerDisabled

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Allows to completely disable the lookup timer functioanlity
Notes: When this is set to true, the LookupTimerDelay is ignored

Returns LOGICAL
Top

PROTECTED CHARACTER NonBrowsableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Property that is used to mark properties (comma-delimited list) that
should not show up in the Visual Designers Property Grid
Notes:

Returns CHARACTER
Top

PUBLIC UltraGrid OwningGrid

Inherited from Consultingwerk.SmartComponents.Base.SmartLookup
Purpose: Gets and sets the reference to the grid that owns this SmartLookup
as an Embedded Editor Control for a cell
Notes:

Returns UltraGrid


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:30:53