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:
dw_control.Object.controlname.Moveable
Describe and Modify argument:
"controlname.Moveable { = number }"
Parameter |
Description |
---|---|
controlname |
The control within the DataWindow for which you want to get or set the Moveable property that governs whether the user can move the control |
number |
A boolean number specifying whether the control is movable. Values are: 0 -- False, the control is not movable. 1 -- True, the control is movable. |
Usage
In the painter
Select the control and set the value in the Properties view, Position tab.
Examples
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")