SetEditorOptionEx()

Summary

Sets an option for an editor window.

Changes

Added to version 5.0.

Syntax

SetEditorOptionEx(array options)

Option Type Contents
Row Background Color Color A variable of type color

Notes

  • The Row Background option of SetEditorOption() turns a background color on or off for every other row.

  • The default color is a moderate gray; use the Row Background Color option to change the color.

Examples

// Before running the example, open any dataview.
SetEditorOption(,"Row Background", "True")
SetEditorOptionEx(,{{"Row Background Color", ColorRGB(59000, 59000, 59000)}})
RedrawEditor()

Error Codes

Error Type Meaning
NotFound The specified editor does not exist or the specified option is not valid

See Also

Function Summary
CreateEditor() Creates a new editor window
GetEditorOption() Gets the value of an option from an editor window
OpenEditor() Creates an editor from a file
SetEditorOption() Sets an option for an editor window