Moveable

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

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 moveable.

Values are:

  • 0 – False, the control is not moveable.

  • 1 – True, the control is moveable.

Usage


In the painter

Select the control and set the value in the Properties view, Position tab.

Examples

Example 1

setting = dw1.Describe("bitmap_1.Moveable")

dw1.Modify("bitmap_1.Moveable=1")