RichEdit.SetOption Method (Typed)
|
|
Set an option for the rich edit.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.24 GA
Syntax VIRTUAL METHOD SetOption(
kOption AS LONG,
symOperation AS SYMBOL
) AS VOID
public virtual void SetOption(
int kOption,
[DefaultParameterValueAttribute("Add", 3)] Symbol symOperation
) Request Example
View SourceParameters
- kOption
- Type: Long
One of the following constants representing the option you want to set: - symOperation
- Type: Symbol
One of the following symbolic names representing the operation to perform:
| Operation | Description |
| #Add | Add this option to the current options. This is the default. |
| #Change | Change to this option, removing all other options |
| #Keep | Keep only this option |
| #Remove | Remove only this option |
Remarks| Constant | Description |
| REOPT_AUTOWORD | Automatic selection of a word on double-click |
| REOPT_AUTOVSCROLL | Automatic vertical scrolling |
| REOPT_AUTOHSCROLL | Automatic horizontal scrolling |
| REOPT_NOHIDESEL | Selection is not hidden when focus is lost |
| REOPT_READONLY | Editing of text is not permitted |
| REOPT_WANTRETURN | Captures carriage return keystrokes |
| REOPT_SAVESEL | Selection is saved focus is lost |
| REOPT_SELBAR | Has a selection bar |
See Also