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.

Input

 

An input window (with an on-screen keyboard), can be created to allow easy user-input.  It should only be used when all windows have been closed (or haven't been created yet), otherwise you may get a run-time error.

 

The input window can be created with :

 

result$ = DDgui_input$(text$, specialChars%)

 

text$ is the initial text that will populate the window.  specialChars%, if set to TRUE will enable extended characters to be used.  If this variable is set to FALSE, then these wont be available.

 

This routine returns all characters entered by the user.  If the user has pressed the CANCEL button then the text returned will be the same as that passed originally to this function.

 

An input window looks like :

 

Window without special chars    Window with special chars.

available

img41.pngimg42.png