SlideLeft

Description

Whether the control moves to the left when other controls to the left leave empty space available. This property is for use with read-only controls and printed reports. It should not be used with data entry fields or controls.

Applies to

Button, Column, Computed Field, Graph, GroupBox, Line, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls

Syntax

PowerBuilder dot notation:

dw_control.Object.controlname.SlideLeft

Describe and Modify argument:

"controlname.SlideLeft { = ' value ' }"

Parameter

Description

controlname

The name of the control for which you want to get or set the Slide setting.

value

(exp) Whether the control slides left when there is empty space to its left.

Values are:

  • Yes – The control will slide left into available space.

  • No – The control will remain in position.

Value can be a quoted DataWindow expression.

Usage


In the painter

Select the control and set the value in the Properties view, Position tab, Slide Left check box. This property is not supported in Web DataWindows.

Examples

Example 1

string setting

setting = dw1.Object.graph_1.SlideLeft

dw1.Object.emp_lname.SlideLeft = "yes"

Example 2

setting = dw1.Describe("graph_1.SlideLeft")

dw1.Modify("emp_lname.SlideLeft=yes")