GetMode Method (Cursor)

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:25

Description

Returns an integer specifying the cursor editing mode:

0 = WYSIWYG

1 = source editing with markup commands visible

2 = source editing with markup commands hidden

Syntax

dim iValue as Integer = object.GetMode

object

Required. Object name, returned by Text.GetCursor(...).

Example

This returns 2 if the tags are hidden in the source editing:

dim objFrom = Text.GetCursor(modeSame,cposCursor,True)

msgbox (objFrom.GetMode)

For the meaning of the standard constants see Constants related to Cursor and TxtPosDesc object.