Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001155 [tweak] Any feature always 05-13-05 12:49 05-13-05 20:31
Reporter bernd View Status public  
Assigned To
Priority normal Resolution open  
Status feedback  
Summary 0001155: CTabButtonList value always nil (CList in general)
Description the value of such a list isn't sychroniced with the selection, like described in the class comment.
In general all CLists should behave in that way, that the value of a list hold the current selection. that makes is easier to set a list as a player and vice versa.
DropdownLists have already such a behavior.
Adding following or similar two methods to CList resolves the problem:
onSelectionChanged
    <on: cursorChanged>
    self value: self selection

onValueChanged

    self selection: self value
Additional Information
Attached Files

- Relationships

- Notes
(0001482 - 409 - 409 - 409 - 409 - 409 - 409)
andreas
05-13-05 20:31

I've changed this to a feature request since it's not a bug in the sense of the word. I'm somewhat hesitent about changing this since it seems to me that a valid alternative for the lists value would be the items of the list iself. Given that there are multiple valid interpretations as for what a list's value represents it seems to me that hard-coding a single interpretation for *all* lists is problematic.
 

- Issue History
Date Modified Username Field Change
05-13-05 12:49 bernd New Issue
05-13-05 20:31 andreas Note Added: 0001482
05-13-05 20:31 andreas Severity minor => feature
05-13-05 20:31 andreas Status new => feedback


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
34 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker