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 TStatictext <> TLabel? (https://www.delphipraxis.net/94572-tstatictext-tlabel.html)

dajuhsa 23. Jun 2007 15:00


TStatictext <> TLabel?
 
sorry, es ist jetzt vielleicht nicht wichtig, aber kann mir mal jemand einen einleuchteneden unterschied zwischen TLabel und TStatictext erläutern?

Neutral General 23. Jun 2007 15:05

Re: TStatictext <> TLabel?
 
:arrow: TStaticText hat ein Handle und TLabel nicht. (weil T(Custom)StaticText = class(TWinControl) und das (Custom)Label ist von TGraphicControl (kein Handle) abgeleitet)
:arrow: TStaticText kann einen Rand haben
:arrow: Kann aber dafür nicht transparent sein (hat zwar die Eigenschaft Transparent aber die funktioniert irgendwie nicht)

dajuhsa 23. Jun 2007 15:07

Re: TStatictext <> TLabel?
 
ist das alles? wenn ja, danke :thumb:

Neutral General 23. Jun 2007 15:09

Re: TStatictext <> TLabel?
 
nein. Hab nochmal editiert.. Das ist was mir jetzt so aufn ersten Blick aufgefallen ist.


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