Namespace: Consultingwerk.SmartComponents.Support
Class 
SmartBusinessEntityPopupLookupUserControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl
Implements: Consultingwerk.SmartComponents.Interfaces.ILookupFieldSource

File:SmartBusinessEntityPopupLookupUserControl
Purpose:UserControl used by the SmartBusinessEntityPopupLookup in
the popup control container
Author(s):Martyn Kemp / Consultingwerk Ltd.
Created:Thu May 04 11:16:12 BST 2017



Top Method Summary
Options Name Purpose
# ApplyFilter () Applys the filter to the query
- BrowserInitializeLayout (Object, InitializeLayoutEventArgs) Event handler for the InitializeLayout event of the Lookup Grid Control
# Escape_KeyDown (Object, KeyEventArgs) Event handler for the KeyDown event of the tbSearchField
+ CHARACTER GetLookupFieldValue (character) Returns a Field Value from the Business Entity Adapter
- InitializeComponent () Intializes the Visual Design
+ InitializeDataAdapter () Initializes the DataAdapter used by the SmartLookupControl
- InitializeDataBinding () Initializes the Data Binding
# InitializeExceptFields () Initializes the ExceptField Lists of the Data Adapter
+ InitializePopupControl () Intializes the Controls DataBinding
# InitialRetrieveData () Retrieves the initial data in the Lookup Dialog
# OnAfterInitializeBusinessEntityAdapter (AfterInitializeBusinessEntityAdapterEventArgs) Raises the AfterInitializeBusinessEntityAdapter event
# OnLookupResult (LookupResultEventArgs) Raises the LookupResult
# ResetFilter () Resets the filter of the query
# SetGlassRegion ()
- smartDataBrowser1_DefaultAction (Object, EventArgs) Handles Keydown events for the Browser
- SmartPopupLookupControl_Load (Object, EventArgs) Handles the Load event for the control
# tbSearchField_EditorButtonClick (Object, EditorButtonEventArgs) Event handler for the EditorButtonClick event of the tbSearchField
# tbSearchField_KeyDown (Object, KeyEventArgs) Event handler for the KeyDown event of the tbSearchField
- ultraTextEditor1_Enter (Object, EventArgs) Event handler for the Enter event of the ultraTextEditor1

Top Constructor Summary
Options Name Purpose
+ SmartBusinessEntityPopupLookupUserControl () Constructor for the SmartBusinessEntityLookupDialog class
+ SmartBusinessEntityPopupLookupUserControl (character) Constructor for the SmartBusinessEntityLookupDialog class
+ SmartBusinessEntityPopupLookupUserControl (SmartLookup) Constructor for the SmartBusinessEntityLookupDialog class

Top Event Summary
Options Name Purpose
+ AfterInitializeBusinessEntityAdapter (Object, AfterInitializeBusinessEntityAdapterEventArgs) Event raised when the lookups SmartBusinessEntityAdapter is initialized
+ LookupResult (Object, LookupResultEventArgs) Raised when the Lookup is closed

Top Property Summary
Options Name Purpose
+ CHARACTER AdapterType
+ CHARACTER AppServerPartition
+ Infragistics.Win.UltraWinGrid.UltraGrid LookupBrowser
+ CHARACTER LookupBrowserExcludeFields
+ CHARACTER LookupBrowserFields
+ CHARACTER LookupDialogFilterFields
+ CHARACTER LookupDialogFilterOperators
+ LOGICAL LookupDialogOpenQuery
+ CHARACTER LookupDialogQuerySort
+ CHARACTER LookupDialogQueryString
+ CHARACTER LookupEntityName
+ CHARACTER LookupEntityTable
+ CHARACTER LookupEntityView
+ CHARACTER LookupKeyField
+ Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter LookupSmartBusinessEntityAdapter
+ LOGICAL SearchPromptInSearchField


Method Detail
Top

PROTECTED ApplyFilter ()

Purpose: Applys the filter to the query
Notes:

Top

PRIVATE BrowserInitializeLayout (Object, InitializeLayoutEventArgs)

Purpose: Event handler for the InitializeLayout event of the Lookup Grid Control
Notes: Make sure that only the given list of LookupBrowserFields and none
of the fields in LookupBrowserExcludeFields are visible.
If LookupBrowserFields is an empty string all columns will be shown

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

PROTECTED Escape_KeyDown (Object, KeyEventArgs)

Purpose: Event handler for the KeyDown event of the tbSearchField
Notes:

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

PUBLIC CHARACTER GetLookupFieldValue (character)

Purpose: Returns a Field Value from the Business Entity Adapter
Notes:

Parameters:
pcFieldName CHARACTER
The name of the Field to return
Returns CHARACTER
The value of the field
Top

PRIVATE InitializeComponent ()

Purpose: Intializes the Visual Design
Notes:

Top

PUBLIC InitializeDataAdapter ()

Purpose: Initializes the DataAdapter used by the SmartLookupControl
Notes:

Top

PRIVATE InitializeDataBinding ()

Purpose: Initializes the Data Binding
Notes:

Top

PROTECTED InitializeExceptFields ()

Purpose: Initializes the ExceptField Lists of the Data Adapter
Notes:

Top

PUBLIC InitializePopupControl ()

Purpose: Intializes the Controls DataBinding
Notes:

Top

PROTECTED InitialRetrieveData ()

Purpose: Retrieves the initial data in the Lookup Dialog
Notes: Performs a FindRowWhere call instead of RetrieveData when the lookup
control contains a value. This is to avoid an extra backend call

Top

PROTECTED OnAfterInitializeBusinessEntityAdapter (AfterInitializeBusinessEntityAdapterEventArgs)

Purpose: Raises the AfterInitializeBusinessEntityAdapter event
Notes:

Parameters:
e Consultingwerk.SmartComponents.Implementation.AfterInitializeBusinessEntityAdapterEventArgs
The AfterInitializeBusinessEntityAdapterEventArgs with the data for this event
Top

PROTECTED OnLookupResult (LookupResultEventArgs)

Purpose: Raises the LookupResult
Notes:

Parameters:
e Consultingwerk.SmartComponents.Implementation.LookupResultEventArgs
The LookupResultEventArgs with the data for the event
Top

PROTECTED ResetFilter ()

Purpose: Resets the filter of the query
Notes:

Top

PROTECTED SetGlassRegion ()

Purpose:
Notes:

Top

PRIVATE smartDataBrowser1_DefaultAction (Object, EventArgs)

Purpose: Handles Keydown events for the Browser
Notes:

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

PRIVATE SmartPopupLookupControl_Load (Object, EventArgs)

Purpose: Handles the Load event for the control
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 tbSearchField_EditorButtonClick (Object, EditorButtonEventArgs)

Purpose: Event handler for the EditorButtonClick event of the tbSearchField
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

PROTECTED tbSearchField_KeyDown (Object, KeyEventArgs)

Purpose: Event handler for the KeyDown event of the tbSearchField
Notes:

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

PRIVATE ultraTextEditor1_Enter (Object, EventArgs)

Purpose: Event handler for the Enter event of the ultraTextEditor1
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


Constructor Detail
Top

PUBLIC SmartBusinessEntityPopupLookupUserControl ()

Purpose: Constructor for the SmartBusinessEntityLookupDialog class
Notes:

Top

PUBLIC SmartBusinessEntityPopupLookupUserControl (character)

Purpose: Constructor for the SmartBusinessEntityLookupDialog class
Notes:

Parameters:
pcLookupRegistryKey CHARACTER
The settings key to use for the Lookup Dialog to store grid and dialog settings
Top

PUBLIC SmartBusinessEntityPopupLookupUserControl (SmartLookup)

Purpose: Constructor for the SmartBusinessEntityLookupDialog class
Notes: This constructor calls back into the Lookup Control to receive the
Lookup Dialog Settings Registrykey

Parameters:
poSmartLookup Consultingwerk.SmartComponents.Base.SmartLookup
The reference to the SmartLookup instance for this LookupDialog


Event Detail
Top

PUBLIC AfterInitializeBusinessEntityAdapter (Object, AfterInitializeBusinessEntityAdapterEventArgs)

Purpose: Event raised when the lookups SmartBusinessEntityAdapter is initialized
Notes:

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

PUBLIC LookupResult (Object, LookupResultEventArgs)

Purpose: Raised when the Lookup is closed
Notes:

Parameters:
sender System.Object
The object that raised the LookupResult event
e Consultingwerk.SmartComponents.Implementation.LookupResultEventArgs
The LookupResultEventArgs with the data for the event


Property Detail
Top

PUBLIC CHARACTER AdapterType


Returns CHARACTER
Top

PUBLIC CHARACTER AppServerPartition


Returns CHARACTER
Top

PUBLIC Infragistics.Win.UltraWinGrid.UltraGrid LookupBrowser


Returns Infragistics.Win.UltraWinGrid.UltraGrid
Top

PUBLIC CHARACTER LookupBrowserExcludeFields


Returns CHARACTER
Top

PUBLIC CHARACTER LookupBrowserFields


Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogFilterFields


Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogFilterOperators


Returns CHARACTER
Top

PUBLIC LOGICAL LookupDialogOpenQuery


Returns LOGICAL
Top

PUBLIC CHARACTER LookupDialogQuerySort


Returns CHARACTER
Top

PUBLIC CHARACTER LookupDialogQueryString


Returns CHARACTER
Top

PUBLIC CHARACTER LookupEntityName


Returns CHARACTER
Top

PUBLIC CHARACTER LookupEntityTable


Returns CHARACTER
Top

PUBLIC CHARACTER LookupEntityView


Returns CHARACTER
Top

PUBLIC CHARACTER LookupKeyField


Returns CHARACTER
Top

PUBLIC Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter LookupSmartBusinessEntityAdapter


Returns Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter
Top

PUBLIC LOGICAL SearchPromptInSearchField


Returns LOGICAL


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:17:05