Message 1 of 1
Maxscript Slider

Not applicable
09-19-2016
02:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The slider UI in Maxscript cannot get above default size 😞
The Dotnet version of the slider is the "trackbar"
I wanted to make a nice tall slider as outlined in this example:
http://forums.cgsociety.org/showthread.php?t=51360
But the ActiveX controls have been deprecated in max 2016.
So instead I was fiddling with this little bit of code:
dotnetcontrol SliderTest "System.Windows.Forms.TrackBar" width:200 height:200 pos:[50,120]
SliderTest.orientation = Slidertest.Orientation.Vertical gives me the same problem as the default maxscript slider: a tiny vertical slider
I tried setting SliderTest.Width = 200 SliderTest.height = 200
Still have a tiny slider.
How to expand the slider out to the max value, and thereby achieve some control?