Click or drag to resize

RichEdit.SetOption Method

X#
Set an option for the rich edit.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SetOption(
	kOption,
	symOperation
) AS USUAL CLIPPER
Request Example View Source

Parameters

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:
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

Return Value

Type: Usual
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