class |
"string"; Sets the dialogue’s class to the specified string. Class names are used to uniquely identify the type of dialogue. |
pos |
expr,expr
"string"; Sets the dialogue’s position to the specified offset (x,y), relative to the upper left corner of the main window frame. If a string value is specified, then a combination of the following characters can be used: "t" top, "b" bottom, "l" left, "r" right. |
abpos |
expr,expr; Sets the dialogue’s position to the specified offset (x,y),
relative to the upper left corner of the screen. |
size |
expr,expr; Resizes the dialogue to the specifiedwidth and height. Only applicable to resizable dialogues. |
resize |
expr; Flags the dialogue as resizable. |
store |
expr; Flags whether the dialogue’s size and position should be stored in theWindows registry. This setting will override
any user preference. |
bgcol |
expr; Sets the background colour for the dialogue box to the specified colour value. Uses the same colour values as dialogue groups. |
parentwh |
expr; Allows only the specified number of instances of this dialogue class to be created. The current dialogue will not open if it would exceed this limit. Avalue of -1 indicates unlimited, any other positive 32-bit signed integer value is valid. |
maxsize |
expr, expr; Sets the maximum dimensions (width, height) of the dialogue. Avalue of -1 indicates infinite size, a value of 0 indicates the minimum size for that axis of growth (eg. no growth along that axis), any other value is interpreted literally as a number of pixels. Only applicable to resizable dialogues. |
controls |
expr; Sets which dialogue controls are available. All dialogues now contain the "close" control button, you may specify 3 to this parameter, whichwill give you an additional "rollup" control button. The "rollup" button will shrink the dialogue to just the title bar height when clicked. It may then be rolled down again. The controls are rendered in system colours 202 and 203. |
shrunk |
read only; This parameter can only be read using awdbmi "getparms" macro call. Returns 1 if the dialogue is shrunken and embedded in a toolbar, 0 otherwise. |
title |
"string"; This parameter can be used to set or read the title of the
given dialogue. The title that is returned is the currently
displayed title (if the title was too long and letters have been
truncated, then that is what is returned). When setting the
title, note that alignment characters (|,||) are not available
and the current alignment is kept from the originally
specified title. Added v7.82a. |