Whether the specified control in the DataWindow is visible.
Button, Column, Computed Field, Graph, GroupBox, Line, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls
PocketBuilder dot notation:
dw_control.Object.controlname.Visible
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:
Value can be a quoted DataWindow expression. |
Select the control and set the value in the Properties view, General tab.
string setting
setting = dw_1.Object.emp_status.Visible
dw_1.Object.emp_status.Visible = 0
dw_1.Object.emp_stat.Visible="0~tIf(emp_class=1,0,1)"
setting = dw_1.Describe("emp_status.Visible")
dw_1.Modify("emp_status.Visible=0")
dw_1.Modify("emp_stat.Visible='0~tIf(emp_class=1,0,1)'")
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |