Get Position - INPUTE SENDMSG() Function 24

Syntax

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

Description

This function returns the INPUTE control's caret position.

Parameter

Description

sysgui

SYSGUI channel.

id

INPUTE control ID.

24

Number of this SENDMSG() function.

0

Always zero.

$$

Always null.

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 - INPUTE SENDMSG() Function 20 returns, respectively. Use the returned string with the DEC() function to obtain the caret position in decimal format.