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 keine Scrollbars in TForm (https://www.delphipraxis.net/48388-keine-scrollbars-tform.html)

idontwantaname 24. Jun 2005 13:15


keine Scrollbars in TForm
 
Hallo Leute !! :hi:

Ist es möglich, eine TForm Sizeable zu lassen aber ohne Scrollbars, sprich wenn man die Form verkleinert, sollen keine Scrollbars kommen. Wenn ja, wie ??

mfg Oliver

marabu 24. Jun 2005 13:20

Re: keine Scrollbars in TForm
 
Vielleicht hilft es, wenn du die Eigenschaft AutoScroll der Form abschaltest?

Grüße vom marabu

DirectFromHell 24. Jun 2005 13:21

Re: keine Scrollbars in TForm
 
Ja klar.
Schau mal im Objektinspektor bei deiner Form nach HorzScrollBar und VertScrollBar.
Das klappst du auf und stellst bei beiden einfach Visible auf false.
Alternativ zur Laufzeit:
Delphi-Quellcode:
   Form1.HorzScrollBar.Visible := false;
// und
Form1.VertScrollBar.Visible := false;
// bzw true für anzeigen
Gruß
DfH

idontwantaname 24. Jun 2005 13:22

Re: keine Scrollbars in TForm
 
Danke !!

Diese Eigentschaft hab ich völlig übersehen :oops:


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:39 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