Moveable
property (DataWindow object)
Description
Whether the specified control in the DataWindow can be moved at
runtime. Moveable controls should be in the DataWindow’s
foreground.
Applies to
Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval,
Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text
controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.controlname.Moveable |
Describe and Modify argument:
|
1 |
"controlname.Moveable { = number }" |
|
Parameter |
Description |
|---|---|
|
controlname |
The control within the DataWindow for which you |
|
number |
A boolean number specifying whether the control is Values are: 0 — False, the 1 — True, the control is |
Usage
In the painter
Select the control and set the value in the Properties view,
Position tab.
Examples
|
1 2 3 4 5 |
string setting setting = dw1.Object.bitmap_1.Moveable dw1.Object.bitmap_1.Moveable = 1 setting = dw1.Describe("bitmap_1.Moveable") dw1.Modify("bitmap_1.Moveable=1") |