Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Caption, Text, Hint, etc. von Komponenten rausfinden (https://www.delphipraxis.net/23245-caption-text-hint-etc-von-komponenten-rausfinden.html)

Helmi 31. Mai 2004 15:26

Re: Caption, Text, Hint, etc. von Komponenten rausfinden
 
ich hätt da nochmal eine frage zu dem Code von mirage228


Wie kann ich jetzt eigentlich z. B. dein wert eines Caption auslesen oder beschreiben?

mirage228 31. Mai 2004 15:31

Re: Caption, Text, Hint, etc. von Komponenten rausfinden
 
Hi,

die Unit TypInfo hat die Prozedur

SetStrProp

Der Aufruf lautet so:
Delphi-Quellcode:
  SetStrProp(Label1, 'Caption', 'Schala');
Mit IsPublishedProp kannst du prüfen, ob die Eigenschaft existiert bzw. ob sie öffentlich zugänglich ist.

mfG
mirage228


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:51 Uhr.
Seite 2 von 2     12   

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