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.

File selection can also be done using DDgui_file :

 

It's used by :

 

DDgui_file(id$, text$, filter$ [, width%, height%])

 

id$ is the widget ID, text$ is some text that will be displayed to the right of the button.

 

filter$ is a file filter which will filter the file directory listing to the extension that is held in this parameter.

 

width% and height%, if given, will set this widget to the given width and height.  If width% is not present, then the font width (based on the length of text$) will be used.

 

height%, if not present, will use the font height to calculate the height of the widget

 

The widget looks like :

 

img19.png