SizeToDisplay DataWindow object property
Description
Whether the graph should be sized automatically to the display
area.
Controls
Graph controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>graphname</span>.SizeToDisplay |
Describe and Modify argument:
1 |
"<span>graphname</span>.SizeToDisplay { = ' <span>value </span>' }" |
Parameter |
Description |
---|---|
graphname |
The graph control in the DataWindow for |
value |
(exp) A boolean 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, Size To Display option.
Examples
1 |
string setting |
1 |
setting = dw1.Object.graph_1.SizeToDisplay |
1 |
dw1.Object.graph_1.SizeToDisplay = 0 |
1 |
setting = dw1.Describe("graph_1.SizeToDisplay") |
1 |
dw1.Modify("graph_1.SizeToDisplay=0") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments