Turning window control help captions on or off (sys.Captions)

sys.Captions,,i1

Turn window control help captions on or off

Turns the display of window control help captions ON or OFF.

A caption is a string of text, attached to a window control as a clause (caption = “text”). It is designed to give information to the user about the control, and the effects of selecting it or entering data into it.

Examples of captions:

+textbox RefBox at 17,6 {
    field  = tmp.Reference
    caption = "Enter REFERENCE CODE"
}

+button OKButton at 5 ,5 {
    label = "OK"
    caption = "Press button to confirm and close dialog"
    style = WS_DEFAULT_BUTTON
}

Captions are displayed on the bottom line of the window. If the bottom of the window is not visible, the lowest visible line is used. A caption occupies its entire row, temporarily obscuring anything else on that row.

If sys.Captions is ON, the caption is displayed whenever the control has input focus, meaning that the program is awaiting input into the control.

If sys.Captions is OFF, then captions are displayed only if the user presses F1.

The default is for sys.Captions to be ON.

Note

Tooltips can be used to display help text for an object when the cursor is moved over it.


RELATED TOPICS

Captions

sys.MenuCaption

Tooltips