You define the appearance and behavior of controls in DataWindow objects in the DataWindow painter. By doing that, you specify the controls’ properties. For example, by placing a border around a column, you are setting that column’s Border property.
In most cases, the appearance and behavior of controls is fixed; you do not want them to change at runtime. When you make headings bold, you generally want them to be bold at all times.
In the following DataWindow object, the Salary Plus Benefits column has a Shadow box border around every data value in the column. To display the border, you set the border property for the column.
Figure 23-1: Shadow box border around a computed column
Copyright © 2004. Sybase Inc. All rights reserved. |