Description
Returns a TxtPosDesc object describing the text content to the immediate right of the I-beam.
Syntax
Dim objDesc as TxtPosDesc = objcur.getdesc |
object
Required. Object name, returned by Text.GetCursor(...).
Example
Are we in notes mode?
dim objCur as Cursor = Text.GetCursor(modeSrcOn, cposcursor, false)
dim objdesc as TxtPosDesc = objcur.getdesc
If objDesc.GetType = tptText And objDesc.GetRemCode <> 0 Then
msgbox ("Yes")
Else
msgbox ("No")
End If
For the meaning of the standard constants see Constants related to Cursor and TxtPosDesc object.