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 Festelllen ob Laufzeit oder nicht ... ? (https://www.delphipraxis.net/2568-festelllen-ob-laufzeit-oder-nicht.html)

Bart 29. Jan 2003 21:14


Festelllen ob Laufzeit oder nicht ... ?
 
Hallo,

wie kann ich im Code einer Komponente feststellen, ob sich sich im Entwicklungsmodus befindet, alsoder Nutzer sie z.B. grad hinzugefügt hat und bearbeitet, oder ob es schon "Laufzeit" ist?

Habt vielen Dank

Christian Seehase 29. Jan 2003 21:19

Moin Bart,

man kann:

z.B.

Delphi-Quellcode:
if csDesigning in ComponentState then...
dann befindet man sich im Entwurfsmodus.


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