Set !CTYPE Value - INPUTE SENDMSG() Function 37

Syntax

TF$=SENDMSG(sysgui,id,37,0,ctype${,context{,ERR=lineref}})

Description

This function sets the INPUTE control's !CTYPE string and may be necessary if a control exists. The !CTYPE string can be changed within the Visual PRO/5 program.

Note: This function will not be implemented in BBj.

Parameter

Description

sysgui

SYSGUI channel.

id

INPUTE control ID.

37

Number of this SENDMSG() function.

0

Always zero.

ctype$

Edit string, which must be exactly 768 bytes long.

The !CTYPE string is set at initialization but does not reflect changes that occur during the control's lifetime. The return value indicates the success or failure of the operation: $01$ indicates success, while $00$ indicates failure. The error can be requested or returned with the Notify event.