﻿<?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?)  » Tabcontrol - Broken Rule Indicators</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 06:24:57 GMT</lastBuildDate><ttl>20</ttl><item><title>Tabcontrol - Broken Rule Indicators</title><link>http://forum.strataframe.net/FindPost16580.aspx</link><description>Guys,&lt;/P&gt;&lt;P&gt;Is there a general method you recommend when using a tab control to select the tab page that has controls that are indicating broken business rules?&lt;/P&gt;&lt;P&gt;Due to screen real-estate issues I have had to use a tab control on a form and it's possible for the user to enter data on several tabs, then save, but then they might see the red notification box about rules being broken, but not know which tab to look at.&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Geoff Hirst</description><pubDate>Wed, 24 Sep 2008 12:24:02 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>RE: Tabcontrol - Broken Rule Indicators</title><link>http://forum.strataframe.net/FindPost19662.aspx</link><description>Thanks Geoff,&lt;br&gt;
I´ll contact you</description><pubDate>Wed, 24 Sep 2008 12:24:02 GMT</pubDate><dc:creator>Guillermo Vilas</dc:creator></item><item><title>RE: Tabcontrol - Broken Rule Indicators</title><link>http://forum.strataframe.net/FindPost19661.aspx</link><description>Hi Guillermo,&lt;/P&gt;&lt;P&gt;Now I created a form, that would work for forms with or without a tab control (or in my case the developer express XtraTabControl).&lt;/P&gt;&lt;P&gt;I am sure my solution will be not as elegant as what Trent discusses, but it works and looks ok. I am more than happy to send you the form and calling code, so that you may at least get an idea of how to progress. Please see my profile for contact details.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Geoff.</description><pubDate>Wed, 24 Sep 2008 09:31:15 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>RE: Tabcontrol - Broken Rule Indicators</title><link>http://forum.strataframe.net/FindPost19626.aspx</link><description>Hello Geoff and Trent,&lt;br&gt;
I´m facing this problem too, Is there a way to cycle through collection of ChildBO´s broken rules to find the offending one and then populating the Custom BrokenRules Dialog?&lt;br&gt;
&lt;br&gt;
Thanks for your help in advance&lt;br&gt;
&lt;br&gt;
Regards &lt;br&gt;
Guillermo</description><pubDate>Tue, 23 Sep 2008 09:35:15 GMT</pubDate><dc:creator>Guillermo Vilas</dc:creator></item><item><title>RE: Tabcontrol - Broken Rule Indicators</title><link>http://forum.strataframe.net/FindPost16651.aspx</link><description>Actually it is a pretty simple things to create.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Just create a user control that has a link label, standard label, and an image on it.&amp;nbsp; The line at the bottom is a ThemedGroupBox with no title, ThemeSupport set to Colors Only, and then the style set to HeaderLineOnly.&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;In the constructor of the user control class to show the broken rule, supply all of the information that you need (including the broken rule itself so you can return it or deal with it if the user clicks the link.&lt;/LI&gt;&lt;LI&gt;Then create a dialog, throw on a FlowLayoutPanel, and write a method to enumerate your broken rules and add them to the FlowLayoutPanel&lt;/LI&gt;&lt;LI&gt;And that is pretty much it&lt;/LI&gt;&lt;/OL&gt;</description><pubDate>Wed, 28 May 2008 07:46:22 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Tabcontrol - Broken Rule Indicators</title><link>http://forum.strataframe.net/FindPost16646.aspx</link><description>Thanks Trent,&lt;/P&gt;&lt;P&gt;I now have a routine that pretty much does exactly what I want, even though I am iterating through the tablpages and the controls on each tabpage. It works fine, whether it's the most efficient is another matter.&lt;/P&gt;&lt;P&gt;What I do like though is in your example, is your interface for the broken rules viewer, you don't happen to have an example lying around that I can pillage do you? :D&lt;/P&gt;&lt;P&gt;Thanks for the help anyhow,&lt;/P&gt;&lt;P&gt;best &lt;/P&gt;&lt;P&gt;Geoff</description><pubDate>Wed, 28 May 2008 05:11:44 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>RE: Tabcontrol - Broken Rule Indicators</title><link>http://forum.strataframe.net/FindPost16584.aspx</link><description>You might take a look at this post I responded to the other day to give you an idea of how we address this.&amp;nbsp; We allow our end-users to view all broken rules...then when they click the link it will automatically navigate to the field in question regardless of page tabs, etc.&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost16378.aspx"&gt;http://forum.strataframe.net/FindPost16378.aspx&lt;/A&gt;</description><pubDate>Mon, 26 May 2008 13:23:25 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>