Sybase 2 Barcode Reader User Manual


 
CHAPTER 10 Highlighting Information in DataWindow Objects
DataWindow Designer User’s Guide 311
Example
The following condition, entered for the Pointer property of every control in a
row of expense data, changes the pointer to a column every time the value in
the expense column exceeds $100,000. Note that the pointer has no meaning in
a printed report. The pointer is for use on the screen display of a DataWindow
object:
If(expense 100000, 'pbcolumn.cur', 'arrow!')
Protect
Description
The protection setting of a column.
In the painter
Protect on the General page in the Properties view.
Value
Values are:
0—False, the column is not protected
1—True, the column is protected
Timer_Interval
Description
The number of milliseconds between the internal timer events.
In the painter
Timer Interval on the General page in the Properties view.
Value
The default is 0 (which is defined to mean 60,000 milliseconds or one minute).
Visible
Description
Whether the control is visible in the DataWindow object.
In the painter
Visible on the General page in the Properties view.
Value
Values are:
0—Not visible
1—Visible
Example
The following statement is for the Visible property of a text control with the
words On Leave located to the right of columns of employee information. The
statement says that if the current employee's status is L, which means On
Leave, the text control is visible. Otherwise, it is invisible:
If(status = 'L', 1, 0)