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

of_setslidershape

Send comments on this topic.

 

Description:

Specifies the shape of the slider. Available options are "Square" or "Circle". If the SliderHeight and SliderWidth properties are not equal, the "Circle" shape will display as an elliptical shape.

Syntax:

of_setslidershape(string as_shape)

Argument

Description

as_shape

Pass, as a string, one of the pre--defined shape values. Valid values are "CIRLCE" and "SQUARE"

Return Value:

Always returns 1.

Usage:

If you set the frame shape dynamically, you can use one of the built in constants for the shape parameter:

e.g.
uo_1.of_SetSliderShape(uo_1.CIRCLE)


Copyright © 2021 Werysoft Inc.