Get

GetDisplay

Draw a Get on the terminal

Syntax

Signature
xBool GetDisplay( Get *get );

Return value

T on success, or F if the object is NULL.

Description

Draw the caption at capRow, capCol, with the letter after `&` in the accelerator color, then the field at row, col. With input focus the field shows the editing buffer in the enhanced color; without it, the value of the variable formatted with the picture in the unselected color. With `@S<n>` the field shows n characters and scrolls with the cursor. The cursor goes to the position of pos.

Call GetDisplay() after GetNewC() and its siblings to show the Get before ReadModal(), as `@ ... GET` does.

See also