Found an issue in SpiderBasic ? Please report it here !
User avatar
Peter
 
Posts: 561
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1

[Done] TrackBarGadget() & #PB_TrackBar_Ticks

by Peter Mon Dec 04, 2017 11:05 am

I do not see any ticks:

Code: Select all
OpenWindow(0, 0, 0, 320, 200, "TrackBarGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TextGadget    (3, 10,  20, 250, 20,"TrackBar Standard", #PB_Text_Center)
TrackBarGadget(0, 10,  40, 250, 20, 0, 10000)
SetGadgetState(0, 5000)

TextGadget    (4, 10, 100, 250, 20, "TrackBar Ticks", #PB_Text_Center)
TrackBarGadget(1, 10, 120, 250, 20, 0, 10000, #PB_TrackBar_Ticks)
SetGadgetState(1, 5000)


Image

Greetings ... Peter
Fred
Site Admin
 
Posts: 1075
Joined: Mon Feb 24, 2014 10:51 am

Re: TrackBarGadget() & #PB_TrackBar_Ticks

by Fred Mon Jan 14, 2019 8:55 pm

True it's not supported. Removed.
User avatar
Peter
 
Posts: 561
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1

Re: TrackBarGadget() & #PB_TrackBar_Ticks

by Peter Mon Jan 14, 2019 10:49 pm

Fred wrote:True it's not supported. Removed.

you could add them by implementing rules (dijit/form/HorizontalRule and dijit/form/VerticalRule)

See here: https://dojotoolkit.org/documentation/tutorials/1.10/sliders/

Greetings ... Peter
Fred
Site Admin
 
Posts: 1075
Joined: Mon Feb 24, 2014 10:51 am

Re: [Done] TrackBarGadget() & #PB_TrackBar_Ticks

by Fred Tue Jan 15, 2019 9:37 am

That's true but it's a bit unclear how to link both..
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 0 guests