RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomHint Class

Custom hint component added to a control.

Pascal
TCustomHint = class(TComponent);
C++
class TCustomHint : public TComponent;

A TCustomHint component can be associated with a control to specify the appearance of the control's hint. The hint's text is a property of the control itself, not of TCustomHint. 

Hints paint in the themed style on Vista, in the Vista style on XP (themes enabled), or in the XP style on XP (themes disabled) 

Hints do processing in a background task, so that applications do not pause while hints are painting. Images associated with a hint are specified by a TImageList in the Images property. You can configure the delay after the mouse moves over the control before the hint appears (Delay) and how long the hint stays displayed while the mouse is over the control (HideAfter). The Style property configures differently shaped hints. 

A control's custom hint is in its CustomHint property. A control also has a ParentCustomHint property, which if True and its parent uses a custom hint, the control uses its parent's hint when its ParentShowHint property is also True. A single TCustomHint instance can be used by more than one control. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!