﻿<?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 - V1 » WinForms (How do I?)  » InfoBox + MessageItem</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 16 Sep 2026 12:12:41 GMT</lastBuildDate><ttl>20</ttl><item><title>InfoBox + MessageItem</title><link>http://forum.strataframe.net/FindPost8124.aspx</link><description>Hi,&lt;br&gt;
&lt;br&gt;
I want to use a InfoBox to display a MessageItem. The overloaded methode ErrorBox does not take&lt;br&gt;
a MessageKey. &lt;br&gt;
&lt;br&gt;
Thanks</description><pubDate>Tue, 17 Apr 2007 10:09:57 GMT</pubDate><dc:creator>Bastian Töpfer</dc:creator></item><item><title>RE: InfoBox + MessageItem</title><link>http://forum.strataframe.net/FindPost8173.aspx</link><description>thanks a lot</description><pubDate>Tue, 17 Apr 2007 10:09:57 GMT</pubDate><dc:creator>Bastian Töpfer</dc:creator></item><item><title>RE: InfoBox + MessageItem</title><link>http://forum.strataframe.net/FindPost8167.aspx</link><description>The best way to translate an RTF string is to create a RichTextBox control, set the Rtf property, and then get the value of the Text property from the control.&amp;nbsp; The Text property will return the string without all of the formatting.</description><pubDate>Tue, 17 Apr 2007 09:50:47 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: InfoBox + MessageItem</title><link>http://forum.strataframe.net/FindPost8146.aspx</link><description>Jep, i guess i can do that. The only thing i need to know for that is how to "translate" the &lt;/P&gt;&lt;P&gt;rtf string of the&amp;nbsp;prop&amp;nbsp;"Title"&amp;nbsp;into a normal string. Could you give me a hint on how to do that? Thanks</description><pubDate>Mon, 16 Apr 2007 11:17:15 GMT</pubDate><dc:creator>Bastian Töpfer</dc:creator></item><item><title>RE: InfoBox + MessageItem</title><link>http://forum.strataframe.net/FindPost8130.aspx</link><description>Bastian,&lt;P&gt;The InfoBox and ErrorBox do not accept a message key.&amp;nbsp; Instead, you can pull from the localization database using the RetrieveTextValue method and pass that value to the ErrorBox.&lt;/P&gt;&lt;P&gt;[codesnippet]Imports MicroFour.StrataFrame.Messaging&lt;BR&gt;Imports MicroFour.StrataFrame.UI&lt;BR&gt;&lt;BR&gt;InfoBox.ErrorBox(Localization.RetrieveTextValue("MyKey"))[/codesnippet]</description><pubDate>Mon, 16 Apr 2007 09:41:14 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>