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 String zu Typ (https://www.delphipraxis.net/148744-string-zu-typ.html)

SimonRap 10. Feb 2012 18:51

AW: String zu Typ
 
jetzt nach fast 2 Jahren hab ichs verstanden oO

mkinzler 10. Feb 2012 19:22

AW: String zu Typ
 
Zitat:

Zitat von SimonRap (Beitrag 1150384)
jetzt nach fast 2 Jahren hab ichs verstanden oO

Besser spät als nie. :mrgreen:

QuickAndDirty 11. Feb 2012 11:23

AW: String zu Typ
 
cool und ich habe bisher immer mit handgemachten konstanten arrays gemacht...

himitsu 11. Feb 2012 12:56

AW: String zu Typ
 
Mit der neuen RTTI geht es auch ganz einfach.

Delphi-Quellcode:
uses
  Rtti;

var
  S: string;
  E: TFormStyle;

S := TValue.From<TFormStyle>(E).ToString;


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