Tabcontrol - Broken Rule Indicators


Author
Message
Geoff Hirst
Geoff Hirst
StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Guys,

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?

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.

thanks in advance

Geoff Hirst

Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Actually it is a pretty simple things to create.

  1. Just create a user control that has a link label, standard label, and an image on it.  The line at the bottom is a ThemedGroupBox with no title, ThemeSupport set to Colors Only, and then the style set to HeaderLineOnly. 
  2. 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.
  3. Then create a dialog, throw on a FlowLayoutPanel, and write a method to enumerate your broken rules and add them to the FlowLayoutPanel
  4. And that is pretty much it

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search