![]() |
TOpenDialog und Button Captions
hallo,
ich möchte in meinem programm die button captions in einem topendialog ändern. das mache ich folgendermassen:
Delphi-Quellcode:
das funktioniert auch, nur leider wird der dialog unter windows vista/7 nicht mehr im neuen stil dargestellt. er sieht wie in windows xp aus.
procedure TForm1.OpenDialog1Show(Sender: TObject);
begin SetDlgItemText(GetParent(OpenDialog1.Handle), IDOK, PChar('New &Open')); SetDlgItemText(GetParent(OpenDialog1.Handle), IDCANCEL, PChar('New &Cancel')); end; das passiert sobald ich im onshow event was mache, jemand ne idee wie man das vermeiden kann. gruß, cookie |
Re: TOpenDialog und Button Captions
Hallo,
soweit ich weiß gibt es seit Delphi 2007 noch die Dialoge TFileOpenDialog bzw. TFileSaveDialog. Die sind dann im Windows Vista/7 Stil. Edit: Link dazu noch gefunden: ![]() MfG spezi |
Re: TOpenDialog und Button Captions
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:48 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