Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : MAX-BUTTON attribute
 

MAX-BUTTON attribute

(Windows only; Graphical interfaces only)
Determines whether the window has a maximize button in its caption bar.
Data type: LOGICAL
Access: Readable/Writable
Applies to: WINDOW widget
In character interfaces, this attribute has no effect.
In Windows, a window can have maximize and minimize buttons depending on the settings of the MAX-BUTTON and MIN-BUTTON attributes. Both buttons are created on the window. If you set the MAX-BUTTON to TRUE and the MIN-BUTTON to FALSE, only the maximize button is enabled; the minimize button is disabled.
The MAX-BUTTON attribute must be set before the window is realized. The default value is TRUE.