RichEdit.SetOption Method | |
Set an option for the rich edit.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD SetOption(
kOption,
symOperation
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual SetOption(
Usual kOption = default,
Usual symOperation = default
)
Request Example
View SourceParameters
- kOption (Optional)
- Type: Usual
One of the following constants representing the option you want to set: - symOperation (Optional)
- Type: Usual
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 |
Return Value
Type:
UsualRemarks 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