]> Creatis software - bbtk.git/blob - packages/wx/bbs/appli/exampleRadioButton.bbs
Rename exempleXXX as exampleXXX.
[bbtk.git] / packages / wx / bbs / appli / exampleRadioButton.bbs
1 description "Simple test of wx::RadioButton widget"
2 author "jean-pierre.roux@creatis.univ-lyon1.fr"
3 category "example"
4
5 load wx
6 load std
7
8 print "Simple check of RadioButton"
9 new RadioButton rb
10 //
11 // Note : missing positions are dealt with
12 //
13  set rb.Title "My Radio Fantastic RadioButton"
14  set rb.In0 "Zero/Cero/Cepher"
15  set rb.In1 "One/Uno/Wahed"
16  set rb.In2 "Two/Dos/Thayn"
17  set rb.In4 "Four/Quatro/Arbaa"
18  set rb.In5 "Five/Cinco/Khamsin"
19  set rb.In8 "Twelve/Ocho/Thamanya"
20  set rb.In 2
21
22 print $rb.Out$\n
23
24 new OutputText t
25  set t.Title "This is what you clicked"
26  set t.WinHeight 80
27  set t.WinWidth 500 
28
29 connect rb.Out t.In
30 connect rb.BoxChange t.BoxExecute