﻿<?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 » Business Objects and Data Access (How do I?)  » Message doubled in tooltip</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 03:36:45 GMT</lastBuildDate><ttl>20</ttl><item><title>Message doubled in tooltip</title><link>http://forum.strataframe.net/FindPost9863.aspx</link><description>Hi,&lt;br&gt;
&lt;br&gt;
in my BO i did the following, hopefully according to the examples, translated from VB to C#:&lt;br&gt;
&lt;br&gt;
private void BOWareneingang_CheckRulesOnCurrentRow(CheckRulesEventArgs e)&lt;br&gt;
        {&lt;br&gt;
            if (this.EingangsMenge &lt; 1)&lt;br&gt;
                this.AddBrokenRule("EingangsMenge", Localization.RetrieveTextValue("brEingangsMenge"));&lt;br&gt;
        {&lt;br&gt;
&lt;br&gt;
But into my FixedToolWindow for editing entries in a listview now I get the appropriate errormessage twice in two identical lines of text in the same tooltip next to the error icon.&lt;br&gt;
&lt;br&gt;
This isn't because of the localization, I tested this.&lt;br&gt;
&lt;br&gt;
Does anybody know what I did do wrong?&lt;br&gt;
&lt;br&gt;
TIA,&lt;br&gt;
&lt;br&gt;
Ralph</description><pubDate>Tue, 03 Jul 2007 09:24:24 GMT</pubDate><dc:creator>Ralph Rutschmann</dc:creator></item><item><title>RE: Message doubled in tooltip</title><link>http://forum.strataframe.net/FindPost9929.aspx</link><description>Glad you got it working :)&amp;nbsp;</description><pubDate>Tue, 03 Jul 2007 09:24:24 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Message doubled in tooltip</title><link>http://forum.strataframe.net/FindPost9920.aspx</link><description>Hello Trent,&lt;br&gt;
you're absolutely right. There have been two handlers. One into the designer file of the BO, and one from me which I copied from one of the CRM example forms. After removing the 'addhandler' stuff from the form, all is working as expected.&lt;br&gt;
&lt;br&gt;
Thank you very much, your hint pointed me the right direktion. :-)&lt;br&gt;
&lt;br&gt;
Friendly greetings,&lt;br&gt;
&lt;br&gt;
Ralph</description><pubDate>Tue, 03 Jul 2007 02:07:55 GMT</pubDate><dc:creator>Ralph Rutschmann</dc:creator></item><item><title>RE: Message doubled in tooltip</title><link>http://forum.strataframe.net/FindPost9886.aspx</link><description>You are correct in that it is not related to localization.&amp;nbsp; More than likely you have two handlers managing the CheckRulesOnCurrentRow event which is handling the event twice.&amp;nbsp; To prove this, just another another broken rule on the same field and it should have two of those messages as well.&amp;nbsp; If so, remove one of your event handlers and then you should be back to one. :)</description><pubDate>Mon, 02 Jul 2007 09:04:29 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>