]> Creatis software - bbtk.git/commitdiff
Fix script
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 16 Apr 2009 16:07:18 +0000 (16:07 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 16 Apr 2009 16:07:18 +0000 (16:07 +0000)
packages/wx/bbs/appli/exampleSlider.bbs

index 80949ce910b5053daec8bea9396db4df79b871f4..8d93236dc3d7c438a5434f9f1aff3f5e4ae12d7b 100644 (file)
@@ -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"