[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
The popup box containing helpful information that appears when the mouse pointer hovers over an object.
Source position: forms.pp line 874
type THintWindow = class(TCustomForm) end; |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
procedure WMNCHitTest(); message; |
|
Treats the whole window as transparent. |
procedure ActivateSub; |
||
procedure DoShowWindow; override; |
|
When no control is Active, sets the Focus to the first control in TabOrder. |
procedure UpdateRegion; |
|
|
procedure SetColor(); override; |
||
function UseBGThemes; |
||
function UseFGThemes; |
||
class function SysHintFont; |
||
public |
||
destructor Destroy(); |
||
constructor Create(); override; |
||
procedure ActivateHint(); |
|
Shows the hint. |
procedure ActivateWithBounds(); |
||
procedure ActivateHintData(); virtual; |
|
Extended version of ActivateHint. Override this method to make use of the additional data. |
function CalcHintRect(); virtual; |
|
Determines the rectangle required for the hint display, based on the maximum text/window width. |
function OffsetHintRect(); |
||
procedure InitializeWnd; override; |
||
function IsHintMsg(); virtual; |
||
procedure ReleaseHandle; |
|
Destroys the widget. |
procedure Paint; override; |
|
Override this method in your derived class with your own paint handler. |
procedure SetBounds(); override; |
||
class function GetControlClassDefaultSize; override; |
|
Returns the default size for this class of controls (when added to a form). |
property OnMouseDown: TMouseEvent; |
||
property OnMouseUp: TMouseEvent; |
||
property OnMouseMove: TMouseMoveEvent; |
||
property OnMouseLeave: TNotifyEvent; |
||
property Alignment: TAlignment; [rw] |
|
The intended text alignment. |
property HintRect: TRect; [rw] |
||
property HintRectAdjust: TRect; [rw] |
||
property HintData: Pointer; [rw] |
||
property AutoHide: Boolean; [rw] |
|
Does the hint disappear (get hidden) after a while? |
property BiDiMode: TBiDiMode; |
|
Customization (of text controls) in bidirectional reading environments. |
property HideInterval: Integer; [rw] |
|
The time after which the displayed hint disappears. |
|
The popup box containing helpful information that appears when the mouse pointer hovers over an object. |
|
| | ||
|
The base type for TForm. |
|
| | ||
| | ||
|
Class of a windowed control with incorporated scroll bars. |
|
| | ||
|
The base class for windowed controls which paint themselves. |
|
| | ||
|
The base class for controls which can contain other (child) controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
Usage:
HintWindow := THintWindow.Create(nil); Rect := HintWindow.CalcHintRect(0,'This is the hint',nil); HintWindow.ActivateHint(Rect,'This is the hint');
lazarus-ccr.sourceforge.net |