Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi for PHP/Library    [ Add a report in this area ]  
Report #:  104958   Status: Closed
QRadiogroup Itemindex never change
Project:  HTML5 Builder Build #:
Version:    4.4 Submitted By:   Conrad Lindström
Report Type:  Crash / Data loss / Total failure Date Reported:  4/17/2012 1:24:27 AM
Severity:    Serious / Highly visible problem Last Updated: 7/10/2012 2:15:50 AM
Platform:    All platforms Internal Tracking #:   3817
Resolution: Feature Removed (Resolution Comments) Resolved in Build: : 5.0
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
QRadiogroup Itemindex property is not implemented.

Added by Sysop
Please see rpcl\qooxdoo\
Steps to Reproduce:
Start a new form
Drop a QRadiogroup on the form
Insert 2 or more Items
Set ItemIndex to -1

First You see that the first [0] is selected, I should not. You set Itemindex to -1
Second select an other radiobox and the selection never change

Tomohiro Takahashi at 4/18/2012 8:30:19 PM -
I checked rpcl\qooxdoo\
So, current implementation is as below. I do not why the lines were commented out.
class QCustomRadioGroup extends QFocusControl
  protected $_itemindex=-1;
  function dumpGUICode()
    echo "$this->Name = new qx.ui.form.RadioButtonGroup();\n";
    echo "$this->Name.setLayout(new qx.ui.layout.VBox(5));\n";
    /*if ($this->_itemindex >= 0)
      echo "$this->Name.setValue($this->Name.getChildrenContainer().getSelectables()[$this->_itemindex].getLabel());\n";

Tomohiro Takahashi at 7/6/2012 1:04:30 AM -
This report was opened.
But, Internal Tracking Number field is still blank.

Server Response from: ETNACODE01