Sybase 2 Barcode Reader User Manual


 
Highlighting information
286 DataWindow .NET
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:
Modifying properties at runtime
In some cases, however, you might want some properties of controls in
DataWindow objects to be driven by the data, which is not known when you
are defining the DataWindow object in the painter. For these situations you can
define property conditional expressions, which are expressions that are
evaluated at runtime.
You can use these expressions to conditionally and dynamically modify the
appearance and behavior of your DataWindow object at runtime. The results of
the expressions set the values of properties of controls in the DataWindow
object.
In the following DataWindow object, the Salary Plus Benefits column has a
Shadow box border highlighting each data value that is greater than $60,000: