Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slider Control with a BackColor Property??

Status
Not open for further replies.
The link in vbforms provides a small VB app, prjSlider.vbp, that can be downloaded. This contains the new slider control, Slider.ctl, which performs well in the small app, and it can be added to my project.

Note that there are now 2 "slider" controls in the ToolBox

Although I can set the new slider's desired properties at design time, when I run the app, its width has reverted to its default value, and when I exit, ALL the properties have reverted to their default values or, sometimes - and I can't reproduce just when - an entirely different set of properties is displayed in the Properties Window: although it is still a "slider", it has none of the original properties, eg BackColor, ButSz, HalfMark, HalfMarkColor, Max, Style (Vertical/Horizontal), TickMarkCnt, TikcMarks, and Transparent.

I would like to be able to selectively remove the old Vb slider from the ToolBox, which might solve the problem. But I am not sure how to do so, since it comes with the Microsoft Windows Common Controls component package, and I suspect that if I remove this, I will lose other controls I use.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top