Visible

Description

Whether the specified control in the DataWindow is visible.

Applies to

Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls

Syntax

Describe and Modify argument:

"controlname.Visible { = ' value ' }"

Parameter

Description

controlname

The name of the control for which you want to get or set the Visible property.

value

(exp) Whether the specified control is visible.

Values are:

  • 0 – False; the control is not visible.

  • 1 – True; the control is visible.

Value can be a quoted DataWindow expression.

Usage


In the painter

Select the control and set the value in the Properties view, General tab. The Visible property is not supported for column controls in reports with the Label presentation style.

Examples

Example 1

setting = dw1.Describe("emp_status.Visible")

Example 2

dw1.Modify("emp_status.Visible=0")

Example 3

dw1.Modify("emp_stat.Visible='0~tIf(emp_cls=1,0,1)'")