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.

In GLBasic V9.052 onwards, there is a new text box which is designed to only take one line.  With these text boxes, the TAB key moves the caret to the next single line entry box.

 

These text boxes are defined by :

 

DDgui_singletext(id$, text$ [,width%=0])

 

with id$ being a unique identifier, and text$ is the text to be displayed.  Pressing RETURN moves to the next DDgui_singletext text box

 

width% and height% are optional.  If these are given, the the widget will be created with the horizontal size defined by width% and the vertical size by height%.

 

Single text boxes look like :

 

img21.png