StrataFrame Forum

ErrorBox color

http://forum.strataframe.net/Topic1443.aspx

By Andria Jensen - 6/7/2006

Is it possible to customize the colors of the infobox windows that pop up?  Specifically, the ErrorBox window that pops up when you have broken rules on a form.  Also, is there any way to control what happens on the form when a rule is broken?  i.e. Can you make it only show the little exclamations by the fields, and not the ErrorBox?  Any help would be great.  Thanks!
By Trent L. Taylor - 6/7/2006

Andria,

You cannot define custom colors for the InfoBox, but there are a number of options when using it.  You can have it conform to the Windows Themes, show a Tip window, or an Error Window.  You can see what they look like in the documentation if you go to the following under the content area:

UI Layer -> Message and Localization -> Using the InfoBox class

The broken rule options are soft.  TO turn off the InfoBox message set simply set the AutoShowBrokenRUlesAlert property on the form to False.

If you look on the form, you will see Two categories in the property sheet: "StrataFrame: Broken Rules Handling" and "StrataFrame: Error Provider Settings."  Most of the properties are self-explanatory, but you can manipulate how the end-user is informed about broken rules.  Ultimately you can do anything you want.  We just try to give you as many options as possible for automation to save you time.

Hope this helps. Smile