Visible DataWindow object property
Description
Whether the specified control in the DataWindow is visible.
Controls
Button, Column, Computed Field, Graph, GroupBox, Line, OLE,
Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and
Text controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Visible |
Describe and Modify argument:
1 |
"<span>controlname</span>.Visible { = ' <span>value</span> ' }" |
Parameter |
Description |
---|---|
controlname |
The name of the control for which you |
value |
(exp) Whether the Values are:
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 DataWindow objects
with the Label presentation style.
Examples
1 |
string setting |
1 |
setting = dw1.Object.emp_status.Visible |
1 |
dw1.Object.emp_status.Visible = 0 |
1 |
dw1.Object.emp_stat.Visible="0~tIf(emp_class=1,0,1)" |
1 |
setting = dw1.Describe("emp_status.Visible") |
1 |
dw1.Modify("emp_status.Visible=0") |
1 |
dw1.Modify("emp_stat.Visible='0~tIf(emp_cls=1,0,1)'") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest