Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#2

Re: Hint eines TEdit's per Tastendruck anzeigen

  Alt 26. Jan 2005, 00:52
Hi,

Probiere mal so was:

Delphi-Quellcode:
var
  I: Integer;
  C: TComponent;
  HintWindow: THintWindow;
begin
  for I := 0 to Application.ComponentCount - 1 do
  begin
    C := Application.Components[I];
    if C is THintWindow then
    begin
      HintWindow := THintWindow(C);
      HintWindow.ActivateHint(...); { Pass appropriate parameters }
      Break;
    end;
  end;
end;
Thomas
  Mit Zitat antworten Zitat