property PropertiesList.Option(Name as OptionEnum) as Variant
Specifies an option for the editor.

 TypeDescription 
   Name as OptionEnum An OptionEnum expression that indicates the option being changed.  
   Variant A Variant value that indicates the option's newly value.  
Use the Option property to change particular options for a specified editor. Use the Option property to customize the strings or behavior for different editors.

The following sample customizes the EditDate editor to display strings in Romanian language:

With PropertiesList1
    .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
    .Add "Date", Date, EditDate
End With


Send comments on this topic.
© 1999-2008 Exontrol Inc, Software. All rights reserved.