DataSourceEditor Class

Uses

GeoCalcPBW::GeoBase

 

Description

The DataSourceEditor class provides a dialog that can be used to browse and edit the DataSource.  

The following image gives an example of the appearance of the DataSourceEditor dialog in Windows XP.  The dialog will look somewhat different on different operating systems.  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 DataSourceEditor dialog can be found in the Getting Started Guide.

 

Public Constructors

Constructor

Description

CreateDataSourceEditor

Creates a new instance of the DataSourceEditor class

DataSourceEditor

Creates a new instance of the DataSourceEditor class

 

Public Methods

Method

Description

AllowSaveAs

Enables or disables the ability for users to save the data source to a new file.

GetTitleBarCaption

Returns the text displayed on the title bar of the dialog

GetExcludeList

Returns the list of GC codes excluded

GetIncludeList

Returns the list of GC codes included

SetColors

Sets the colors that the editable and non-editable data source objects are displayed in

SetParent

Specifies the window that acts as the parent to this dialog

SetTitleBarCaption

Sets the text that is displayed on the title bar of the dialog

SetExcludeList

Sets the list of GC codes to include

SetIncludeList

Sets the list of GC codes to exclude

Show

Shows the DataSourceEditor as a modal dialog