Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
Turbo Delphi für Win32
|
Re: TInfoBox - eine InfoBox direkt auf dem Desktop
9. Aug 2006, 14:05
Also ich würde es im Formulardesigner auf ne Form ziehen und dann Komponenten draufpacken. Angezeigt wird es dann einfach mit InfoBox.Show;
Allerdings kann mans natürlich auch zur Laufzeit erstellen, wenn man will.
Delphi-Quellcode:
InfoBox:=TInfoBox.Create(nil);
InfoBox.Width:=160;
InfoBox.Height:=100;
lbl:=TLabel.Create(InfoBox);
lbl.Left:=8;
lbl.Top:=8;
lbl.Caption:='Blubb';
InfoBox.Show;
Manuel Eberl „The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
|