Zoom DataWindow object property
Description
The scaling percentage of the DataWindow object.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.Zoom |
Describe and Modify argument:
|
1 |
"DataWindow.Zoom { = <span>value</span> }" |
|
Parameter |
Description |
|---|---|
|
value |
An integer specifying the scaling percentage |
Usage
In the painter
To see the effect of different zoom factors in Preview mode,
use Design>Zoom. The zoom factor you set in the painter
is not used at runtime.
Limitation
The zoom property is not supported for the Graph, RichText,
and OLE DataWindow styles.
Examples
|
1 |
string setting |
|
1 |
setting = dw1.Object.DataWindow.Zoom |
|
1 |
dw1.Object.DataWindow.Zoom = 50 |
|
1 |
setting = dw1.Describe("DataWindow.Zoom") |
|
1 |
dw1.Modify("DataWindow.Zoom=50") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest