constants EditorOptionEnum
Specifies different options for a built-in editor. The Option property specifies the editor's options. Use the DefaultEditorOption property to specify default option for the editors of a specified type. The following options are supported:

NameValueDescription
exMemoHScrollBar1 Adds the horizontal scroll bar to a MemoType or MemoDropDownType editor.

(boolean expression, by default it is false)

exMemoVScrollBar2 Adds the vertical scroll bar to a MemoType or MemoDropDownType editor.

(boolean expression, by default it is false)

exMemoAutoSize3 Specifies whether the MemoType editor is resized when user alters the text.

(boolean expression, by default it is true)

exColorListShowName4 Specifies whether a ColorListType editor displays the name of the color.

(boolean expression, by default it is false)

exColorShowPalette5 Specifies whether the ColorList editor displays the palette colors list.

(boolean expression, by default it is true)

exColorShowSystem6 Specifies whether the ColorType editor shows the system colors list.

(boolean expression, by default it is true)

exMemoDropDownWidth7 Specifies the width for a MemoDropDownType editor. 

(long expression, by default it is 128)

exMemoDropDownHeight8 Specifies the height for a MemoDropDownType editor.

(long expression, by default it is 116)

exMemoDropDownAcceptReturn9 Specifies whether the Return key is used to add new lines into a MemoDropDownType editor.

(boolean expression, by default it is true)

exEditRight10 Right-aligns text in a single-line or multiline edit control.

(boolean expression, by default it is false)

exProgressBarBackColor11 Specifies the background color for a progress bar editor. Use the exProgressBarMarkTicker option to specify the background color or visual appearance of the progress bar.

(color expression, by default it is 0x80000000 | COLOR_HIGHLIGHT)

exProgressBarAlignment12 Specifies the alignment of the caption inside of a progress bar editor.

(AlignmentEnum expression, by default it is LeftAlignment)

exProgressBarMarkTicker13 Retrieves or sets a value that indicates whether the ticker of a progress bar editor is visible or hidden. If value is 0 (false), no progress's background is shown. If -1(true), the progress's background is shown using the current visual theme, else the solid color or the EBN object is applied on the progress's background.

(color expression, by default it is -1)

exDateAllowNullDate14 Allows you to specify an empty date to a DateType editor.

(boolean expression, by default it is true)

exCheckValue015 Specifies the check box state being displayed for unchecked state. 

(long expression, valid values are 0, 1 or 2, by default it is 0)

exCheckValue116 Specifies the check box state being displayed for checked state.

(long expression, valid values are 0, 1 or 2, by default it is 1)

exCheckValue217 Specifies the check box state being displayed for partial checked state. (long expression, valid values are 0, 1 or 2). For instance, if your cells load boolean values ( True is -1, False is 0 ), the control displays the partial-check icon for True values. You can call G2antt1.DefaultEditorOption(exCheckValue2) = 1 before loading the CheckValueType editor, and so the partial-check cells show as check icons.

(long expression, valid values are 0, 1 or 2, by default it is 2)

exEditPassword18 Specifies a value that indicates whether an edit control displays all characters as an asterisk (*) as they are typed ( passwords ).

(boolean expression, by default it is false)

exEditPasswordChar19 Specifies a value that indicates the password character.

(character expression, by default it is '*')

exLeftArrow20 (VK_LEFT) Specifies whether the left arrow key is handled by the control or by the editor. By default, the Option(exLeftArrow) property is exHandleControl. Use the exLeftArrow option to disable focusing a new cell if the user presses the left arrow key while editing. The option is valid for all editors.

(ArrowHandleEnum expression, by default it is exHandleControl)

exRightArrow21 (VK_RIGHT) Specifies whether the right arrow key is handled by the control or by the editor. By default, the Option(exRightArrow) property is exHandleControl. Use the exRightArrow option to disable focusing a new cell if the user presses the right arrow key while editing. The option is valid for all editors.

(ArrowHandleEnum expression, by default it is exHandleControl)

exUpArrow22 (VK_UP) Specifies whether the up arrow key is handled by the control or by the editor. By default, the Option(exUpArrow) property is exHandleControl. Use the exUpArrow option to disable focusing a new cell if the user presses the up arrow key while editing. The option is valid for all editors.

(ArrowHandleEnum expression, by default it is exHandleControl)

exDownArrow23 (VK_DOWN) Specifies whether the down arrow key is handled by the control or by the editor. By default, the Option(exDownArrow) property is exHandleControl. Use the exDownArrow option to disable focusing a new cell if the user presses the down arrow key while editing. The option is valid for all editors.

(ArrowHandleEnum expression, by default it is exHandleControl)

exHomeKey24 (VK_HOME) Specifies whether the home key is handled by the control or by the current editor. By default, the Option(exHomeKey) property is True. Use the exHomeKey option to disable focusing a new cell if the user presses the home key while editing. The option is valid for all editors.

(boolean expression, by default it is true)

exEndKey25 (VK_END) Specifies whether the end key is handled by the control or by the current editor. By default, the Option(exEndKey) property is True. Use the exEndKey option to disable focusing a new cell if the user presses the end key while editing. The option is valid for all editors.

(boolean expression, by default it is true)

exPageUpKey26 (VK_PRIOR) Specifies whether the page up key is handled by the control or by the current editor. By default, the Option(exPageUpKey) property is True. Use the exPageUpKey option to disable focusing a new cell if the user presses the page up key while editing. The option is valid for all editors.

(boolean expression, by default it is true)

exPageDownKey27 (VK_NEXT) Specifies whether the page down key is handled by the control or by the current editor. By default, the Option(exPageDownKey) property is True. Use the exPageDownKey option to disable focusing a new cell if the user presses the page down key while editing. The option is valid for all editors.

(boolean expression, by default it is true)

exDropDownImage28 Displays the predefined icon in the control's cell, if the user selects an item from a drop down editor. By default, the exDropDownImage property is True. The option is valid for DropDownListType, PickEdit and ColorListType editors.

(boolean expression, by default it is true)

exDateTodayCaption29 Specifies the caption for the 'Today' button in a DateType editor.

(string expression, by default it is "Today")

exDateMonths30 Specifies the name for months to be displayed in a DateType editor. The list of months should be delimitated by spaces.

(string expression, by default it is "January February March April May June July August September October November December")

exDateWeekDays31 Specifies the shortcut for the weekdays to be displayed in a DateType editor. The list of shortcut for the weekdays should be separated by spaces. The first shortcut in the list indicates the shortcut for the Sunday, the second shortcut indicates the shortcut for Monday, and so on.

(string expression, by default it is ""S M T W T F S")

exDateFirstWeekDay32 Specifies the first day of the week in a DateType editor.  The valid values for the Editor.Option(exDateFirstWeekDay) property are like follows: 0 - Sunday, 1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday and 6 - Saturday.

(long expression, valid values are 0 to 6, by default it is 0)

exDateShowTodayButton33 Specifies whether the 'Today' button is visible or hidden in a DateType editor.

(boolean expression, by default it is true)

exDateMarkToday34 Gets or sets a value that indicates whether the today date is marked in a DateType editor.

(boolean expression, by default it is false)

exDateShowScroll35 Specifies whether the years scroll bar is visible or hidden in a DateType editor.

(boolean expression, by default it is true)

exEditLimitText36 Limits the length of the text that the user may enter into an edit control. By default, the Editor.Option(exEditLimitText) is zero, and so no limit is applied to the edit control.

(long expression, by default it is 0)

exAutoDropDownList37 The exAutoDropDownList has no effect Editor.Option( exAutoDropDownList) property is 0 ( default ). Automatically shows the drop down list when user starts typing characters into a DropDownList editor, if the Editor.Option(exAutoDropDownList) property is -1. If the Editor.Option( exAutoDropDownList) property is +1, the control selects a new item that matches typed characters without opening the drop down portion of the editor.

(long expression, valid values are -1, 0 and +1, by default it is 0)

exExpandOnSearch38 Expands items while user types characters into a drop down editor. The exExpandOnSearch type has effect for drop down type editors.

(boolean expression, by default it is false)

exAutoSearch39 Specifies the kind of searching while user types characters within the drop down editor. The exExpandOnSearch type has effect for drop down type editors. 

(AutoSearchEnum expression, valid values are 0 and 1, by default it is exStartWith)

exSpinStep40 Specifies the proposed change when user clicks a spin control. The exSpinStep should be a positive number, else clicking the spin has no effect. Integer or floating points allowed as well. For instance, if the exSpinStep is 0.01, the proposed change when user clicks the spin is 0.01. If the exSpinStep property is 0, the spin control is hidden ( useful if you have a slider control ).

(positive numeric expression, by default it is 1)

exSliderWidth41 Specifies the width in pixels of the slider control. The exSliderWidth value could be 0, when the slider control is hidden, a positive value that indicates the width in pixels of the slider in the control, a negative number when its absolute value indicates the percent of the cell's size being used by the slider. For instance, Option(exSliderWidth) = 0, hides the slider, Option(exSliderWidth) = 100, shows a slider of 100 pixels width, Option(exSliderWidth) = -50, uses half of the cell's client area to display a slider control. By default the Option(exSliderWidth) property is 64 pixels.  Use the exSpinStep to hide the spin control.

(long expression, by default it is 64)

exSliderStep42 Specifies a value that represents the proposed change in the slider control's position. The exSliderTickFrequency property specifies the frequency to display ticks on a slider control. The exSliderMin and exSliderMax determines the range of values for the slider control.

(numeric expression , by default it is 1)

exSliderMin43 Specifies the slider's minimum value.

(numeric expression, by default it is 0)

exSliderMax44 Specifies the slider's maximum value.

(numeric expression, by default it is 100)

exKeepSelBackColor45 Keeps the selection background color while the editor is visible. The exKeepSelBackColor option is valid for all editors. Use the exKeepSelBackColor to let the editor to display the control's selection background color when it is visible.

(boolean expression, by default it is false)

exEditDecimalSymbol46 Specifies the symbol that indicates the decimal values while editing a floating point number. Use the exEditDecimaSymbol option to assign a different symbol for floating point numbers, when Numeric property is exFloat.

(long expression, that indicates the ASCII code for the character being used as decimal symbol, by default, it is the "Decimal symbol" settings as in the Regional Options, in your control panel)

exDateWeeksHeader47 Sets or gets a value that indicates whether the weeks header is visible or hidden in a DateType editor.

(boolean expression, by default it is false)

exEditSelStart48 Sets the starting point of text selected, when an EditType editor is opened. If the exEditSelStart property is 0, the text gets selected from the first character. If the exEditSelStart property is -1, the cursor is placed at the end of the text. 

(long expression, by default it is 0)

exEditSelLength49 Sets the number of characters selected, when an EditType editor is opened. If the exEditSelLength is 0, no text is selected, instead the exEditSelStart changes the position of the cursor. If the exEditSelLength property is -1, the text from the exEditSelStart position to the end gets selected.

(long expression, by default it is -1)

exEditLockedBackColor50 Specifies the background color for a locked edit control. By default, the exEditLockedBackColor property is a system color that indicates the face color for three-dimensional display elements and for dialog box backgrounds. 

(color expression, by default it is 0x80000000 | COLOR_3DFACE)

exEditLockedForeColor51 Specifies the foreground color for a locked edit control.

(color expression, by default it is 0)

exShowPictureType52 Specifies whether a PictureType editor displays the type of the picture.

(boolean expression, by default it is true)

exSliderTickFrequency53 Gets or sets the interval between tick marks slider types. By default, the exSliderTickFrequency property is 0 which makes the slider to display no ticks. The exSliderTickFrequency property specifies the frequency to display ticks on a slider control. The exSliderStep proposed change in the slider control's position. The exSliderMin and exSliderMax determines the range of values for the slider control. The exSliderWidth option specifies the width of the slider within the cell.

(numeric expression, by default it is 0)

exPickAllowEmpty54 Specifies whether the editor of PickEditType supports empty value.

(boolean expression, by default it is false)

exDropDownBackColor55 Specifies the drop down's background color. If 0 the exDropDownBackColor has no effect.

(color expression, by default it is 0)

exDropDownForeColor56 Specifies the drop down's foreground color. If 0 the exDropDownBackColor has no effect.

(color expression, by default it is 0)

exDropDownColumnCaption57 Specifies the HTML caption for each column within the drop down list, separated by ¦ character (vertical broken bar, ALT + 221). For instance, "<sha ;;0>Name</sha>¦<sha ;;0>ID</sha>" defines two columns for the drop down editor. The header of the drop down list is visible, if the exDropDownColumnCaption is not empty.

(string expression, by default it is "")

exDropDownColumnWidth58 Specifies the width for each column within the drop down list, separated by ¦ character (vertical broken bar, ALT + 221). For instance, "¦32" defines the width of the second column to 32 pixels, within a drop down multiple columns editor.

(string expression, by default it is "")

exDropDownColumnPosition59 Specifies the position for each column within the drop down list, separated by ¦ character (vertical broken bar, ALT + 221). For instance, "¦0" defines sets the second column to be first visible-column,  within a drop down multiple columns editor.

(string expression, by default it is "")

exDropDownColumnAutoResize60 Specifies whether the drop down list resizes automatically its visible columns to fit the drop down width. Specifies whether the drop down multiple columns editor displays horizontal-scroll bar.

(boolean expression, by default it is true)

exSliderTickStyle63 exSliderTickStyle. Gets or sets the style to display the slider' ticks.
exCalcExecuteKeys100 Specifies whether the calculator editor executes the keys while focused and the drop down portion is hidden.

(boolean expression, by default it is true)

exCalcCannotDivideByZero101 Specifies the message whether a division by zero occurs in a calendar editor. 

(string expression, by default it is "Cannot divide by zero.")

exCalcButtonWidth102 Specifies the width in pixels of the buttons in the calculator editor.

(long expression, by default it is 24)

exCalcButtonHeight103 Specifies the height in pixels of the buttons in the calculator editor.

(long expression, by default it is 24)

exCalcButtons104 Specifies buttons in a calendar editor. The property specifies the buttons and the layout of the buttons in the control. A string expression that indicates the list of buttons being displayed. The rows are separated by chr(13)+chr(10) ( vbCrLf ) sequence, and the buttons inside the row are separated by ';' character. 

(string expression)

exCalcPictureUp105 Specifies the picture when the button is up in a drop down calendar editor. A Picture object that indicates the node's picture.

(A Picture object that implements IPicture interface, a string expression that indicates the base64 encoded string that holds a picture object (use the eximages tool to save your picture as base64 encoded format, by default it is "")

exCalcPictureDown106 Specifies the picture when the button is down in a drop down calendar editor. A Picture object that indicates the node's picture. 

(A Picture object that implements IPicture interface, a string expression that indicates the base64 encoded string that holds a picture object (use the eximages tool to save your picture as base64 encoded format, by default it is "")

exEditAllowOverType200 Specifies whether the editor supports overtype mode. The option is valid for EditType and MemoType editors.

(boolean expression, by default it is false)

exEditOverType201 Retrieves or sets a value that indicates whether the editor is in insert or overtype mode. The option is valid for EditType and MemoType editors.

(boolean expression, by default it is false)

exEditAllowContextMenu202 Specifies whether the editor displays the edit's default context menu when the user right clicks the field.

(boolean expression, by default it is true)