constants DefHostPropertyEnum
The DefHostPropertyEnum type defines properties whose default value can be changed. The HostDef property defines the default value for specified property. The DefHostPropertyEnum type supports the following values:

NameValueDescription
exNew1 By default, the exNew is "(New)". Retrieves or sets the caption to be displayed on the AddNew item. The HostDef(exNewColumn) property retrieves or sets the index of the column, where the (New) is being displayed. The (New) may not be displayed on formatted columns or on columns with drop down list editors.

(String expression)

exNewColumn2 By default, the exNewColumn is 0. Retrieves or sets the index of the column, where the (New) is being displayed. The HostDef(exNew) property retrieves or sets the caption to be displayed on the AddNew item. The (New) may not be displayed on formatted columns or on columns with drop down list editors.

(Long expression)

exTaskName3 By default, the exTaskName is "Task". Retrieves or sets the name of the task to be created / loaded. For instance, you can change the HostDef(exTaskName) property to "Progress" and so any new created bar will be of "Progress" type.

(String expression)

exNewTaskID4 By default, the exNewTaskID is empty, if no data-source has been loaded. If the data-source has been specified it indicates the identifier of the next task that will be created. If data-source is assigned to the control, the HostDef( exNewTaskID) property defines the value of the next identifier that will be created once the user creates a new task. This property is automatically updated once the user creates a new task, into a control with a data-source assigned. If no data-source is assigned, the user is responsible with changing this value. The HostDef(exNewTaskID) property defines the value of Key parameter of the AddBar method of the Items collection.

(Long expression or Variant expression)

exErrorForeColor5 By default, the exErrorForeColor property is RGB(255,0,0). Retrieves or sets the foreground-color to highlight items with errors. This property has effect only if the control is bounded to ADO / DAO source. It is important, that DataField(exItemsID) property to be set, so items with errors are being highlighted. If the HostDef(exErrorForeColor ) property is -1, no foreground color is applied to any item with errors.

(Long/Color expression)

exErrorBackColor6 By default, the exErrorBackColor property is -1. Retrieves or sets the background-color to highlight items with errors. This property has effect only if the control is bounded to ADO / DAO source. It is important, that DataField(exItemsID) property to be set, so items with errors are being highlighted. If the HostDef(exErrorBackColor) property is -1, no background color is applied to any item with errors.

(Long/Color expression)

exErrorClearOnChange7 By default, the exErrorClearOnChange property is True, which indicates that no error will be highlighted once the user updates the control. Specifies whether the control keeps highlighting the errors once the changes occur. This property has effect only if the control is bounded to ADO / DAO source. It is important, that DataField(exItemsID) property to be set, so items with errors are being highlighted. 

(Boolean expression)

exNewLinkID8 By default, the exNewLinkID is empty, if no data-source has been loaded. If the data-source has been specified it indicates the identifier of the next link that will be created. If data-source is assigned to the control, the HostDef(exNewLinkID) property defines the value of the next identifier that will be created once the user creates a new link. This property is automatically updated once the user creates a new link, into a control with a data-source assigned. If no data-source is assigned, the user is responsible with changing this value. The HostDef(exNewLinkID) property defines the value of LinkKey parameter of the AddLink method of the Items collection.

(Long expression or Variant expression)

exNewNoteID9 By default, the exNewNoteID is empty, if no data-source has been loaded. If the data-source has been specified it indicates the identifier of the next note that will be created. If data-source is assigned to the control, the HostDef(exNewNoteID) property defines the value of the next identifier that will be created once the user creates a new note. This property is NOT automatically updated once the user creates a new note, so the user is responsible with changing this value, once a new note has been added to the chart. The HostDef(exNewNoteID) property defines the value of ID parameter of the Add method of the Notes collection. 

(Long expression or Variant expression)