Vote UpVote

Enumeration to String in Delphi

Daniel Magin's Weblog – Sometimes in Delphi a some secret mechanism and i found this many years later .... so i like to share. sometimes you need the real string from a enumeration and you have done this with case like this? case mr_element.identification.language_code oflanguage_code_enum.DE: slanguage:='DE';language_code_enum.EN: slanguage:='EN';language_code_enum.FR: slanguage:='FR';language_code_enum.NL: slanguage:='NL';language_code_enum.SK: slanguage:='SK';language_code_enum.HU: slanguage:='HU';language_code_enum.HR: slanguage:='HR';language_code_enum.SR: slanguage:='SR';language_code_enum.BG: ...
Favorite? Off-Topic? dmagin @ 2012-11-07 17:16


Visits: 54
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)