Registriert seit: 11. Jan 2005
Ort: Schleswig
193 Beiträge
Delphi XE8 Professional
|
Re: Hint-Popup manuell anzeigen
23. Nov 2005, 13:43
In etwa so :
Delphi-Quellcode:
procedure TForm1.BitBtn1Click(Sender: TObject);
var
I: Integer;
r : TRect;
begin
r.Left := Form1.Left + BitBtn1.Left;
r.Right := r.Left +50;
r.Top := Form1.Top + BitBtn1.Top;
r.Bottom := r.Top + 20;
for I := 0 to Application.ComponentCount - 1 do
if Application.Components[I] is THintWindow then
begin
with Application.Components[I] as THintWindow do
ActivateHint(r,'hallo');
Break;
end;
end;
Christian Wahl me, myself and I, die lustigen Drei !!
|