Autor Beitrag
bigknaller
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: Mo 12.06.06 09:51 
Hallo liebes Delphi-Forum :)
Ich habe folgendes Problem: Bei Programstart soll direkt ein Ballontip/Tooltip auf eine bestimmte Komponente, meinetwegen einen Button, angezeigt werden, ohne dass der Benutzer mit dem Mauszeiger darauf zeigt...Habe schon verschiedene Komponenten und Implementierungen zu Tooltips gefunden, aber keine, die Tooltips schon bei Programmstart anzeigen...
Danke schonmal für eure Hilfe! :)
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Mo 12.06.06 10:31 
Welche Komponenten hattest du denn konkret?
Ansonsten www.swissdelphicente...showcode.php?id=1587 und ganz händisch
bigknaller Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: Mo 12.06.06 10:53 
Ja, genau die zum Beispiel...Die funktioniert, aber eben erst, nachdem ich den Mauszeiger auf die gewünschte Stelle schiebe! Gibt es da ne Möglichkeit, dass das direkt nach dem Programmstart geschieht? Oder welche Stelle muss ich ändern? Bin noch nicht sehr erfahren :)
Danke schonmal!
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Mo 12.06.06 10:55 
Nimm einfach das OnActivate-Ereignis. Also:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.FormActivate(Sender: TObject);
begin
  ShowBalloonTip(Button1, 1, 'Title',
  'Balloon tooltip,http://kingron.myetang.com; updated by Calin', clBlue, clNavy);
end;