Message.Title  Multiline

Chapter 3: DataWindow Object Properties

Moveable

Description

Whether the specified control in the DataWindow can be moved during execution. 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

PocketBuilder 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

Example 1

string setting

setting = dw_1.Object.bitmap_1.Moveable

Example 2

dw_1.Object.bitmap_1.Moveable = 1

Example 3

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

Example 4

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





Copyright © 2004. Sybase Inc. All rights reserved. Multiline

View this book as PDF