CONTEXT-HELP attribute
(Windows only)When CONTEXT-HELP is TRUE, a question mark icon displays in the title bar of the window or dialog box. The default value is FALSE. This attribute must be set before the window or dialog box is realized.
Return type: LOGICAL
Access: Readable/Writable
Applies to: DIALOG-BOX widget, WINDOW widget
Due to bugs in Microsoft Windows, the question mark icon does not appear, or appears but does not function, when combined with other attribute settings that affect a window’s title bar:
- If CONTEXT-HELP = TRUE and SMALL-TITLE = TRUE, the question mark icon does not appear.
- If CONTEXT-HELP = TRUE and both MIN-BUTTON = TRUE and MAX-BUTTON = TRUE, the question mark icon does not appear.
- If CONTEXT-HELP = TRUE and either (but not both) of MIN-BUTTON or MAX-BUTTON = TRUE, the question mark icon appears but does not function.
- If CONTEXT-HELP = TRUE and CONTROL-BOX = FALSE, the question mark icon does not appear.
To summarize, you must set CONTEXT-HELP = TRUE, MIN-BUTTON = FALSE, and MAX-BUTTON = FALSE (leaving CONTROL-BOX at its default value of TRUE and SMALL-TITLE at its default value of FALSE) in order to successfully use this feature with a window widget.
Note: The preceding settings only apply to window widgets, not to dialog boxes. The question mark icon always functions correctly when used with a dialog box.
OpenEdge Release 10.2B
|