Vcl.ExtCtrls.TEditButton.Hint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Hint: string read GetHint write SetHint;

C++

__property System::UnicodeString Hint = {read=GetHint, write=SetHint};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TEditButton

Description

Contains the text string that can appear when the user moves the mouse over the edit button.

Use the Hint property to provide a string of help text for a TEditButton.

A Help Hint is a box containing help text that appears for an edit button when the user moves the mouse pointer over the button and pauses momentarily. To set up Help Hints:

  • Specify the Hint property of each edit button of a TButtonedEdit for which a Help Hint should appear.
  • Set the ShowHint property of the parent TButtonedEdit to true.
  • See information in the TControl Hint property for how to use the OnHint event handler or the ParentShowHint property and the ShowHint property of the form to display hints.
  • If the Hint property contains only one value, the entire string is used as a Help Hint.

Note: If the application's ShowHint property is false, the Help Hint does not appear.

See Also

Code Examples