[qooxdoo-devel] Radio Buttons
Brought to you by:
ecker,
martinwittemann
From: <smi...@go...> - 2010-03-31 21:08:25
|
Hello, how can i select a radiobutton? I try this // create groupbox var box3Helper = new qx.ui.container.Composite(new qx.ui.layout.VBox(4)); this.containerFormData.add(box3Helper); var radioButton1 = new qx.ui.form.RadioButton("Einzeldruck"); radioButton1.setMarginLeft(4); box3Helper.add(radioButton1); var radioGroup1 = new qx.ui.groupbox.RadioGroupBox("Seriendruck"); radioGroup1.setLayout(new qx.ui.layout.HBox(12)); box3Helper.add(radioGroup1); var rg = new qx.ui.form.RadioGroup(radioButton1, radioGroup1); rg.setSelection(radioButton1); var label3 = new qx.ui.basic.Label("Adressen: "); radioGroup1.add(label3); var textField3 = new qx.ui.form.TextField(""); radioGroup1.add(textField3); and how can i get the slected item? thanks for help |