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.

Retrieving Text

 

Text is retrieved using DDgui_get$ with the id of the widget you want to retrieve the data from, and the parameter of “TEXT”, for example :

 

DEBUG DDgui_get$(“result”,”TEXT”)

 

With most widgets, the data returned is that same as that entered.  However, with list boxes, the data returned is slightly different, in that each line is separated with a “|”.

 

For example :

 

DDgui_list("test","a|B|C",100,100)

DEBUG DDgui_get$("test","TEXT")

 

Produces :

 

a|B|C