HintObj Property

Applies To

Description

The HintObj property is a character vector or ref that specifies the name of, or a ref to, an object in which the "help" message defined by the Hint property is to be displayed. This message is displayed when the user positions the mouse pointer over the object. The Hint is displayed by automatically setting the Caption or Text property of the object named by HintObj.

The following types of object can therefore be used to display Hints: Button, Edit, Combo, Group, Form, Label, Menu, MenuItem, StatusField, SubForm and Text. For a StatusField that has both Caption and Text properties, the text property is used for displaying hints.

When the user moves the mouse pointer away from the object, the Caption or Text property of the object specified by HintObj is reset to an empty vector.

Note that if HintObj is empty, its value is inherited from its parent. Thus setting HintObj on a Form defines the default location for displaying Hints for all the controls in that Form. Setting HintObj on Root defines the default location for hints for the entire application.