View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005478 | JEDI VCL | 00 JVCL Components | public | 2011-02-12 06:04 | 2012-06-12 10:48 |
Reporter | pka4916 | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0005478: TJVCheckedcombobox clears checked items | ||||
Description | Whenever I load my Combobox, and I check items, the items are getting cleared as soon as I make a change for 1 TEXT item. To keep the current CHECK status I need to get the value first, change the text, and restore the value. save0:=checkcombo1.Checked[0]; save1:=checkcombo1.Checked[1]; checkcombo1.Items[0]:='Row 1'; checkcombo1.Items[1]:='Row 2'; checkcombo1.Checked[0]:=save0; checkcombo1.Checked[1]:=save0; If I just have this checkcombo1.Checked[0]:=True; checkcombo1.Items[0]:='Row 1'; then checkcombo1.Checked[0] becomes False. when I remove the item[0]:='Row 1'; then the value stays True. | ||||
Tags | No tags attached. | ||||
|
Please provide the zipped sources of a sample application showing this. |
2011-02-16 15:11
|
boxexample.zip (4,753 bytes) |
|
There you go. Just check all the items and press the button. |
|
Also this doesn't work either if checkcombo1.Checked[1]=true then checkcombo1.checked[1]:=false; it always stays true.. |
|
Forget my last comment aoubt the "always stays true" I had an checkcombo1.text:='Please Select' But I cannot do that, since it makes the True/False not work anymore. I can make the items True, but I cannot make them False anymore. Is there another way to not have all the results in the combobox text showing, and just have a "Please Select" in there ? |
|
This will be hard to fix because there is also the case where an item is deleted or inserted into the list. And the notification we get from TStringList only says "changed", not what happened... |
|
I'm sorry, this is definitely not fixable. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-02-12 06:04 | pka4916 | New Issue | |
2011-02-15 13:52 | obones | Note Added: 0018360 | |
2011-02-15 13:52 | obones | Status | new => feedback |
2011-02-16 15:11 | pka4916 | File Added: boxexample.zip | |
2011-02-16 15:11 | pka4916 | Note Added: 0018381 | |
2011-02-18 03:26 | pka4916 | Note Added: 0018387 | |
2011-02-19 14:19 | pka4916 | Note Added: 0018391 | |
2011-06-07 17:39 | obones | Status | feedback => acknowledged |
2011-06-08 14:26 | obones | Note Added: 0018667 | |
2011-06-08 14:26 | obones | Status | acknowledged => feedback |
2011-09-21 11:43 | obones | Status | feedback => acknowledged |
2012-06-12 10:48 | obones | Note Added: 0019894 | |
2012-06-12 10:48 | obones | Status | acknowledged => resolved |
2012-06-12 10:48 | obones | Resolution | open => not fixable |
2012-06-12 10:48 | obones | Assigned To | => obones |