index    previous    next
 
textbox

TEXTBOX

The TEXTBOX control allows the user to view, enter or modify a single line of text. Several edit key sequences are recognised by the system. These key sequences are mainly uEmacs compatible (which means that most are also BASH and Emacs compatible). These edit key sequences are:
ctl-bcursor left
ctl-fcursor right
ctl-acursor home (start of line)
ctl-ecursor end (end of line)
ctl-hdelete char left
ctl-ddelete char right
ctl-kdelete to end of line (move to copy buffer)
ctl-yyank (undelete - copy from copy buffer to current cursor position)

The mouse can also be used to highlight text to be placed in the copy buffer. ctl-y (yank) is then used to copy the text to a new location (where the cursor has been moved to).

The mouse can be used to reposition the text cursor.

The TEXTBOX control has two associated action functions which are invoked when the TEXTBOX has keyboard focus and either the return, enter or escape keys are pressed.

The programmer refers to the action functions as "complete_func" and "abort_func". They can be set via the "complete_func_name" and "abort_func_name" properties in the "textbox control" dialog.

The "complete_func" is invoked by the return and enter keys. The "abort_func" if invoked by the escape key.