Description:
The ThumbImage property, when set, will display an image for the trackbar slider.
Syntax:
of_setthumbimage (string as_image)
Argument |
Description |
as_image |
The file name of the image used in the item. You can use a PowerBuilder image (e.g. "sql!"). |
Return Value:
Always returns 1.
Usage:
The image will display using the SliderHeight and SliderWidth properties. Setting the ThumbImage will override the SliderShape property. This value must be a valid image which can be an image in your file system or a PB build in image (e.g. save!).
If you need to change the size of the slider to accommodate the image, you must call of_SetSliderSize before you call of_SetThumbImage.
Copyright © 2021 Werysoft Inc.