Navigation: Ultimate Suite for PowerBuilder Help > PowerRangebar > Functions >

of_setslidersize

Send comments on this topic.

 

Description:

 

Specifies the size, in pixels, of the slider width and height on the rangebar.

Syntax:

of_setslidersize (integer a_width, a_height)

Argument

Description

a_width

The width of the slider in pixels.

a_height

The height of the slider in pixels.

Return Value:

Always returns 1.

Usage:

The rangebar supports Horizontal and Vertical orientations. When the rangebar is in vertical mode, the width will represent the slider size from a Top to Bottom instead of from Left to Right. In other words, use the same width and height values that you would use if the rangebar was in a horizontal position.


Copyright © 2021 Werysoft Inc.