From: jean-pierre roux Date: Tue, 12 Feb 2008 09:00:59 +0000 (+0000) Subject: a X-Git-Tag: r0.6.1~240 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e701d78079be4923bd1d2e43c21ba05e327c3f12;p=bbtk.git a --- diff --git a/packages/wx/bbs/appli/testRadioButton.bbs b/packages/wx/bbs/appli/testRadioButton.bbs new file mode 100644 index 0000000..d723d88 --- /dev/null +++ b/packages/wx/bbs/appli/testRadioButton.bbs @@ -0,0 +1,20 @@ +load wx +load std + +print "Ceci est un essai de RadioButton" +new RadioButton rb +set rb.Title "My Radio Button" +set rb.In0 "This" +set rb.In1 "Is" +set rb.In2 "Not" +set rb.In4 "A" +set rb.In5 "Love" +# Here we put "Song" in In9 : if it is selected, the output is '9' +set rb.In9 "Song" +set rb.In 2 + +print $rb.Out$\n + +//new StaticText t +//connect rb.Out t.In +//connect rb.BoxChange t.BoxExecute