"orientation";

Sets the orientation of a slider, a thumb wheel, a progress bar or a spacer.

Synopsis

shape.orientation(string mode);

Parameter

  1. Parameters Description
    shape Name of the object
    mode

    "Horizontal"

    "Vertical"

Description

Sets the orientation of a slider, a thumb wheel, a progress bar or a spacer.

Example

The example sets the orientation of the slider to "Horizontal";.

main(bool enter)

{

SLIDER1.orientation("Horizontal");

}

Figure: Slider with the Orientation "Horizontal"

Assignment

Slider, Thumb wheel, Progress bar, Spacer

See also