DataSourcePicker Class

Uses

GeoCalcCOM.IDataSourcePicker

 

Description

The DataSourcePicker class provides a dialog that can be used to select objects from the DataSource.  It provides much of the functionality offered by the ObjectPicker dialog, but with added features and improved performance.

The following image gives an example of the appearance of the DataSourcePicker dialog.  Click on various parts of the image to get a description of the function of that aspect of the dialog.

When using this dialog to perform a search in the "Name" column, the search result may contain some objects for which the name does not contain the search string.  Objects contained in a category whose name contains the search string will also be returned.  

More information about the usage and functionality of the DataSourcePicker dialog can be found in the Getting Started Guide.

 

Public Properties

Property

Description

Caption

Specifies a string that will be displayed on the dialog

ClassType

Specifies the type of object that will be displayed in this dialog, according to the ObjectType enumeration

Code

Specifies the code that identifies the object that will be selected when the dialog is first displayed

DataSource

The DataSource from which this dialog will pick definitions

DefaultType

The ObjectType that identifies the object that will be initially selected when the dialog is displayed

Issuer

Specifies the issuer that identifies the object that will be selected when the dialog is first displayed

 

Public Methods

Method

Description

AdviseOnPickerObjectTest

Specifies an object that will be used to filter the objects that are displayed in the dialog

Show

Shows the dialog and returns the object that is selected

UnadviseOnPickerObjectTest

Disconnects the object used to filter the contents of this dialog