![]() |
Toolbargröße spinnt
Moin :)
Ich hab eine Toolbar für den IE geschrieben. Läuft auch problemlos. ABER: scheinbar ändert der IE nach eigenem Belieben die Höhe der Toolbar. Ich hab versucht, die Höhe des Formulars bei OnResize auf 25 px festzuhalten. Das interessiert den IE überhaupt nicht. Hat jemand eine Idee, wie man die Höhe der Bar festsetzt? |
Re: Toolbargröße spinnt
Check doch mal das MSDN, da steht bestimmt was drin.
Schließlich will M$ die Marktherrschaft haben, dazu gehört es auch Programmierern Support zu bieten. |
Re: Toolbargröße spinnt
Habs gefunden :D
War ne Einstellung in der Toolbar-Unit selbst... bissl versteckt gewesen. |
Re: Toolbargröße spinnt
Hm...Hab das gleiche Problem.....welche Einstellung war denn das?!
|
Re: Toolbargröße spinnt
Da:
diese "22" is die Höhe
Delphi-Quellcode:
function TDelphiBand.GetBandInfo(dwBandID, dwViewMode: DWORD; var pdbi: TDeskBandInfo):
HResult; // Retrieves the information for the band object. begin BandId := dwBandID; (* DBIM_MINSIZE: The minimum size of the band object. The minimum width is placed in the x member and the minimum height is placed in the y member. NB: In vertical bands is y=width e.g.: pdbi.ptMinSize.y:=Bandform.Width; *) if (pdbi.dwMask or DBIM_MINSIZE) <> 0 then begin pdbi.ptMinSize.y := 22; pdbi.ptMinSize.x := 0; end; (* DBIM_MAXSIZE: The maximum size of the band object. The maximum height is placed in the y member and the x member is ignored. If there is no limit for the maximum height, -1 should be used. *) if (pdbi.dwMask or DBIM_MAXSIZE) <> 0 then begin pdbi.ptMaxSize.x := -1; pdbi.ptMaxSize.y := 22; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:04 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