Click or drag to resize

RichEdit.GetOption Method (Typed)

X#
Determine the status of a particular option for the rich edit.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD GetOption(
	kOption AS LONG
) AS LOGIC
Request Example View Source

Parameters

kOption
Type: Long
One of the following constants representing the option whose status you want to check:

Return Value

Type: Logic
TRUE if the option is enabled; otherwise, FALSE.
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