Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi for PHP
AddOn
Compatibility
Database
Debugger
Demos
Documentation
IDE
Install
Internet
Library
Other
PEAR
PHP
Suggestion
You are not logged in.
Help
Print
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 #:
4.4.0.1656
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
Description
QRadiogroup Itemindex property is not implemented.
Added by Sysop
<<<
Please see rpcl\qooxdoo\extctrls.inc.php.
>>>
Steps to Reproduce:
Start a new form
Drop a QRadiogroup on the form
Insert 2 or more Items
Set ItemIndex to -1
Run
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
Workarounds
None
Attachment
None
Comments
Tomohiro Takahashi at 4/18/2012 8:30:19 PM
-
I checked rpcl\qooxdoo\extctrls.inc.php.
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";
$this->dumpItems();
/*if ($this->_itemindex >= 0)
echo "$this->Name.setValue($this->Name.getChildrenContainer().getSelectables()[$this->_itemindex].getLabel());\n";
*/
parent::dumpGUICode();
}
---------------
Tomohiro Takahashi at 7/6/2012 1:04:30 AM
-
This report was opened.
But, Internal Tracking Number field is still blank.
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us