Click or drag to resize

RichEdit.SetOption Method (Typed)

X#
Set an option for the rich edit.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SetOption(
	kOption AS LONG,
	 symOperation AS SYMBOL
) AS VOID
Request Example View Source

Parameters

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:
OperationDescription
#AddAdd this option to the current options. This is the default.
#ChangeChange to this option, removing all other options
#KeepKeep only this option
#RemoveRemove only this option
Remarks
ConstantDescription
REOPT_AUTOWORDAutomatic selection of a word on double-click
REOPT_AUTOVSCROLLAutomatic vertical scrolling
REOPT_AUTOHSCROLLAutomatic horizontal scrolling
REOPT_NOHIDESELSelection is not hidden when focus is lost
REOPT_READONLYEditing of text is not permitted
REOPT_WANTRETURNCaptures carriage return keystrokes
REOPT_SAVESELSelection is saved focus is lost
REOPT_SELBARHas a selection bar
See Also