

| Type | Description | |||
| Name as OptionEnum | An OptionEnum expression that indicates the option being changed. | |||
| Variant | A Variant value that indicates the option's newly value. |
In conclusion, you can specify options for the editors as follows:
The following VB sample adds a custom EditDate editor that uses Romanian calendar:
With PropertiesList1
With .Add("Date", Date, EditDate)
.Option(exDateTodayCaption) = "Azi"
.Option(exDateMonths) = "Ianuarie Februarie Martie Aprilie Mai Iunie Iulie August Septembrie Octombrie Decembrie"
.Option(exDateWeekDays) = "D L M M J V S"
.Option(exDateFirstWeekDay) = 1
Wnd With
End With
The following VB sample adds a custom EditFile editor with INI filter:
With PropertiesList1
With .Add("INI", "c:\temp\test.ini", EditFile, "Selects a file", "Custom")
.Option(exEditFileFilter) = "INI Files|*.ini;*.init|All (*.*)|*.*"
.Option(exEditFileTitle) = "Select an INI file"
End With
End With