Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Scrollbars bei MDIForm verstecken (https://www.delphipraxis.net/129207-scrollbars-bei-mdiform-verstecken.html)

Red six 14. Feb 2009 14:09


Scrollbars bei MDIForm verstecken
 
Hallo Leute,

folgendes Problem:

Ich habe eine MDIForm mit mehreren Childs. Jetzt möchte ich dass keine Scollbalken erscheinen wenn man ein Child aus dem ParentFenster schiebt.

Delphi-Quellcode:
AutoScroll := False;
VertScrollBar.Visible := False;
HorzScrollBar.Visible := False;
Sollte eigentlich ausreichen, aber leider werden die Scrollbars immernoch angezeigt. Ich bin schon richtig am verzweifeln da ich scheinbar der einzige mit desem Problem bin.

Kann sich/mir das jemand erklären?


mfg,


Red six

Red six 15. Feb 2009 18:30

Re: Scrollbars bei MDIForm verstecken
 
Ich pushe mal mit dem Anhang dass nichtmal das hier funktioniert. :cry:

Delphi-Quellcode:
MDICWndStyle := GetWindowLong(MDICWnd, GWL_STYLE) and not (WS_HSCROLL or WS_VSCROLL);
SetWindowLong(MDICWnd, GWL_STYLE, MDICWndStyle);


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:40 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz