![]() |
scrollbars an/aus-schalten
Ich habe ein Komponente von TCustomControl abgeleitet:
Delphi-Quellcode:
mit 2 Scrollbars.
TCustomCtrl = class(TCustomControl)
constructor Create (AOwner: TComponent); override; procedure CreateParams(var Params: TCreateParams); override; destructor Destroy; override; private protected public published end; constructor TCustomCtrl.Create(AOwner: TComponent); begin inherited; end; procedure TCustomCtrl.CreateParams(var Params: TCreateParams); begin inherited; with Params do begin Style := Style or WS_VSCROLL or WS_HSCROLL; end; end; destructor TCustomCtrl.Destroy; begin inherited; end; Wie kann ich diese nun anzeigen bzw. nicht anzeigen :?: |
Re: scrollbars an/aus-schalten
![]()
Delphi-Quellcode:
// z.B.:
ShowScrollBar(Memo1.Handle, SB_VERT, True); // in der Komponente z. B.: ShowScrollBar(Self.Handle, SB_HORZ, Flase); |
Re: scrollbars an/aus-schalten
:wall:
HATTE ich auch schon gefunden Danke! :wall: |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:29 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