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_get/DDgui_get$ values available :

 

ID Value

Name

Returns

 

“”

MOVEABLE”

0 if window can't be moved

Any other value if it can

 

“”

SCALABLE”

0 if window can't be resized

Any other value if it can

 

“”

XPOS”

Horizontal position of window

 

“”

YPOS”

Vertical position of window

 

“”

id$

WIDTH”

Width of window

Width of widget

 

“”

id$

HEIGHT”

Height of window

Height of window

 

id$

HOVER”

FALSE if mouse is not over widget

TRUE if the mouse is over the widget

 

id$

CLICKED”

TRUE if user clicked over widget

FALSE if user clicked over widget

 

id$

READONLY”

0 if widget is not read-only

Any other value if it is

 

id$

ALIGN”

Alignment of widget

-1 : Align left

0 : Centre

1 : Align right

 

id$

TOOLTIP”

Current tool-tip text for widget

 

“”

id$

TEXT”

Window title

Text from widget

 

id$

SELECT”

Which item (or line) has been selected.  Only useful for widgets like radio buttons, check boxes etc.

 

id$

COUNT”

How many lines there are in a list box

 

id$

SELSTART”

Character position where highlighting starts in text box.

If < 0, then no highlighting is taking place

 

id$

SELEND”

Character position where highlighting ends in text box.

If < 0, then no highlighting is taking place

If this value is the same as that returned by “SELSTART”, then no highlighting is taking place

 

“”

INKEY”

Currently returns an empty string

 

id$

MINVAL”

Returns minimum value for slider

 

id$

MAXVAL”

Returns maximum value for slider

 

id$

STEP”

Returns step value for slider