X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fbbs%2Fappli%2FexampleSlider.bbs;h=8d93236dc3d7c438a5434f9f1aff3f5e4ae12d7b;hb=f5cf0e92ed4a3d8989254e527f55572dbbc4feed;hp=80949ce910b5053daec8bea9396db4df79b871f4;hpb=577d0cb2396a5db3124e2277af2c6dfb80b633f1;p=bbtk.git diff --git a/packages/wx/bbs/appli/exampleSlider.bbs b/packages/wx/bbs/appli/exampleSlider.bbs index 80949ce..8d93236 100644 --- a/packages/wx/bbs/appli/exampleSlider.bbs +++ b/packages/wx/bbs/appli/exampleSlider.bbs @@ -11,6 +11,7 @@ load wx new LayoutLine layout // Initialisations with Set +//--------------------------- new Slider slider set slider.ReactiveOnTrack 1 @@ -22,19 +23,29 @@ new Slider slider set slider.Title "initialisations with Set" new OutputText text -new Add a - set a.In1 5 +new Add a1 + set a1.In1 5 -// Initialisations with Connect - +new Add a2 + set a2.In1 5 + +new Add a3 + set a3.In1 5 + +// Initialisations with Connect +//--------------------------------- new Slider slider2 set slider2.ReactiveOnTrack 1 - set a.In2 5 - connect a.Out slider2.Min - set a.In2 95 - connect a.Out slider2.Max - set a.In2 20 - connect a.Out slider2.In + + set a1.In2 5 + connect a1.Out slider2.Min + + set a2.In2 95 + connect a2.Out slider2.Max + + set a3.In2 20 + connect a3.Out slider2.In + set slider2.Label 1 set slider2.Orientation H set slider2.Title "initialisations with Connect"