Y Behavior cell (Controls section)

Microsoft Office ShapeSheet

Y Behavior cell (Controls section)

See also       Rows

Controls the type of behavior the y-coordinate of the control handle will exhibit after the handle is moved. These formulas are available.

Value

Behavior

Definition

Automation constant

0

Proportional

The control handle can be moved, and it also moves in proportion with the shape when it is stretched.

visCtlProportional

1

Proportional locked

The control handle moves in proportion with the shape, but the control handle itself cannot be moved.

visCtlLocked

2

Offset from bottom edge

The control handle is offset a constant distance from the bottom of the shape.

visCtlOffsetMin

3

Offset from center

The control handle is offset a constant distance from the center of the shape.

visCtlOffsetMid

4

Offset from top edge

The control handle is offset a constant distance from the top of the shape.

visCtlOffsetMax

5

Proportional, hidden

Same as 0, but the control handle is not visible.

visCtlProportionalHidden

6

Proportional locked, hidden

Same as 1, but the control handle is not visible.

visCtlLockedHiddenv

7

Offset from left edge, hidden

Same as 2, but the control handle is not visible.

visCtlOffsetMinHidden

8

Offset from center, hidden

Same as 3, but the control handle is not visible.

visCtlOffsetMidHidden

9

Offset from right edge, hidden

Same as 4, but the control handle is not visible.

visCtlOffsetMaxHidden

Remarks

To reference the Y Behavior cell by name from another formula, or from a program using the Cells property, use:

Cell name:

Controls.Ycon[i]
where i = <1>, 2, 3…

To reference the Y Behavior cell by index from a program, use the CellsSRC property with the following arguments:

Section index:

visSectionControls

Row index:

visRowControls + i
where i = 0, 1, 2…

Cell index:

visCtlYCon