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 TControl.ControlStyle ändern (https://www.delphipraxis.net/24440-tcontrol-controlstyle-aendern.html)

DeerHunter 21. Jun 2004 02:54


TControl.ControlStyle ändern
 
Hallo, in der Delphi Hilfe steht dazu folgendes geschrieben:
Zitat:

Die Eigenschaft sollte außer im Konstruktor zur Laufzeit nicht geändert werden.
Es funktioniert jedoch auch prima, wenn ich einfach im OnCreate der Form einmalig das ganze für meine PaintBox ändere. Geht das so in Ordnung oder muss ich mir unbedingt erst eine neue Klasse ableiten und das ganze dann im Konstruktor machen?... wäre halt ziemlich umständlich..


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