SlideUp

Description

Whether the control moves up when other controls above it 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

Describe and Modify argument:

"controlname.SlideUp { = ' value ' }"

Parameter

Description

controlname

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

value

(exp) How the control slides up when there is empty space above it.

Values are:

  • AllAbove – Slide the control up if all the controls in the row above it are empty.

  • DirectlyAbove – Slide the column or control up if the controls directly above it are empty.

  • No – The control will not slide up.

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 Up check box. This property is not supported in Web DataWindows.

Examples

Example 1

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

dw1.Modify("emp_lname.SlideUp=no")