PowerBuilder Trackbar; reinvented (also introducing a new Rangebar control)
Out of the box, PowerBuilder comes with a very usable horizontal and vertical trackbar. It works as advertised; your users can move the slider to select a value that falls within a predefined Min and Max value range. Very simple. When developing the Image Editor control for Ultimate Suite; a major limitation was discovered with the PowerBuilder Trackbar. I needed a way for users to select the brightness or contrast for an image. It seemed logical to use a trackbar for this. For example, we have a min and max brightness and we need the user to select a value in that range. After placing the trackbar on the image editor control the first thing that I had to do was change the controls background color so that it matches the color scheme I was using. But... to my surprise, there is no background color property for the trackbar. This seemed odd seeing that most controls in PowerBuilder have a background color option. Some research was done to see if there was an API I could hit to change th