﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / WinForms (How do I?)  / Enumerations and Localization / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Wed, 07 Jan 2009 14:06:44 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Enumerations and Localization</title><link>http://forum.strataframe.net/Topic2709-7-1.aspx</link><description>Working so late ?&lt;BR&gt;What time is it ?&lt;BR&gt;What's the day today ?&lt;BR&gt;I locked myself in a room and someone feeds me everynow and then ...:crazy:</description><pubDate>Sun, 10 Sep 2006 14:11:02 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Enumerations and Localization</title><link>http://forum.strataframe.net/Topic2709-7-1.aspx</link><description>Ivan what are you doing working so late?  You will be happy to know the upcoming release 1.5 has a new attribute for enum localization.  In fact we changed all of the enums in security for some guy in Brazil -- what a pain :D &lt;P&gt;The following snippets reveal its simplicity.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;'-- Standard Enum&lt;BR&gt;Public Enum DeniedActions as Integer&lt;BR&gt;  NoMessage = 0&lt;BR&gt;  ReplaceEachCharacter = 1&lt;BR&gt;End Enum&lt;/P&gt;&lt;P&gt;'-- Localized Enum&lt;BR&gt;Public Enum DeniedActions as Integer&lt;/P&gt;&lt;P&gt;  &amp;lt;EnumDisplayValue("IVANEnum - Message", True) &amp;gt; _&lt;BR&gt;  NoMessage = 0&lt;/P&gt;&lt;P&gt; &amp;lt;EnumDisplayValue("IVANEnum - Replace", True) &amp;gt; _&lt;BR&gt;  ReplaceEachCharacter = 1&lt;BR&gt;End Enum&lt;/P&gt;&lt;P&gt;Attribute Constructor&lt;BR&gt; New(ValueorKey as String, IsLocalizationKey as Boolean)</description><pubDate>Sat, 09 Sep 2006 14:53:28 GMT</pubDate><dc:creator>Steve L. Taylor</dc:creator></item><item><title>Enumerations and Localization</title><link>http://forum.strataframe.net/Topic2709-7-1.aspx</link><description>Hi guys.&lt;/P&gt;&lt;P&gt;Would it be possible to declare Enum members as SF localizable keys ?</description><pubDate>Fri, 08 Sep 2006 21:42:44 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>