![]() |
StatusBar - Problem
hallo!
in meinem programm werden die hints von buttons usw.in einer statusbar des hauptformulars im panel 0 angezeigt: (deklariert unter public)
Delphi-Quellcode:
ich habe auf einem modalen formular auch eine statusbar. wie kann ich ihm sagen, dass er alle hints auf diesem formular nicht in der statusleiste des hauptformulars anzeigt, sondern in dem forumlar, wo auch die buttons mit den hints sind?
procedure TFormHaupt.DisplayHint(Sender: TObject);
begin StatusBar1.Panels[0].Text := GetLongHint(Application.Hint); end; Gruß, dopeline |
Re: StatusBar - Problem
Du musst es erneut zuweisen, ich würd's ins OnShow- Ereigniss reinpacken.
Is der gleiche Code wie von dir gepostet, nur eben auf dem neuen Formular. Im OnClose machste dann alles wieder rückgängig. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:30 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz