DDgui Programmers Reference Guide by Nicholas J. Kingsley - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

DDgui_text: id$, text$ [, width%=0, height%=0]

 

Create a text entry widget

 

Example :

 

DDgui_text("name","Example Name",140)

 

Result :

 

This widget creates an area where the user can enter text using either the keyboard or an on-screen entry system.

 

Pressing RETURN will cause the caret to move to the next line, possibly causing the previous text to scroll up.

 

Pressing the TAB key will generate an space.  HOME and END will move the caret to the beginning or end of the current line, whilst the cursor keys will move the caret around one character at a time.

 

There is no limit to the amount of text that the user can enter.