Where to put 'options' code when using Bootstrap Slider

For example, code such as this:
SdRed.options.natural_arrow_keys = True
SdRed.options.tooltip_position = “hide”

I tried ‘Scrip’ section of properties for the Slider (Sd), but Scrip only holds the code for the whole program and cannot be edited other than by changing the program code.

I tried using Sub Main(), but did not work.

I tried putting it into the first function that used the slider, but did not work.

Any help would be appreciated…

Tom

Did you have a look at the Slider sample? It has a button which sets options.

George Henne
NS BASIC Corporation
http://www.nsbasic.com

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.