Previous Topic: Common Edit ModificationsNext Topic: How to Specify Video Properties


Window and Control Appearance

You can regulate the appearance of a window or control by using the Toolset's Business System Video Properties panels. For Web Generation applications, you have an additional method of regulating the appearance of windows and controls using custom video properties that are implemented as CSS Class attributes for the windows and controls. You can specify CSS Class attributes dynamically at runtime and statically during the design phase.

Both static and dynamic methods of specifying CSS Class attributes have benefits. When you specify CSS Class attributes during the design phase, you can adhere to strict style guides that define how a control or window should look throughout an application. Your design team can also roll out changes to the appearance of a control or window without having to modify an existing application.

By having the flexibility to dynamically specify CSS Class attributes at runtime, you can change the appearance of one control on one page. For example, you can change a WindowObj.EntryField.CSSClass to pleasefillout so the user sees a data entry field with a special appearance (like a red border and a bold font).

In addition to specifying Custom Video Properties (CSS Class attributes) to be used by all windows or controls within an application or assigning the Custom Video properties to one window or control, you can also specify a style scheme for a set of controls. For example, you can specify a Row/Column style scheme for all list boxes and tables, a style scheme for all message boxes, or a style scheme for all group box lines within your application.