Get Position - INPUTN SENDMSG() Function 24

Syntax

POSITION$=SENDMSG(sysgui,id,24,0,$${,context{,ERR=lineref}})

Description

This function gets the INPUTN control's caret position. The position parameter defines the value. The caret position is relative to the returned title string and does not include mask character positions. The first and last positions are to the left of the first character and right of the last character that Get Title - INPUTN SENDMSG() Function 20 returns, respectively. The returned string can be used with the DEC() function to convert the caret's position to decimal format.

Parameter

Description

sysgui

SYSGUI channel.

id

INPUTN control ID.

24

Number of this SENDMSG() function.

0

Always zero.

$$

Always null.