On Jun 27, 2007, at 3:53 PM, Brendan Barnwell wrote:

>       I'm trying to make a dListControl that's sorted.  However, if I  
> set the Sorted
> property of my object to True, I get this traceback
[snip]
>      self._setChoices(self._choices)
> AttributeError: 'dListControl' object has no attribute '_choices'

        Of all the UI controls, dListControl has probably gotten the least  
attention. I haven't looked at that code in ages.

>       Also, I have another question.  Is there any way to force a re- 
> sort of the list
> without adding and subtracting an element?  I want to make a list  
> where the user
> can specify a sort key in the form, and then hit a button to get  
> the list to
> resort using that key.  So I'd like to have some hook where I can call
> mydListControl.doTheSort and have it perform the sort using the new  
> SortFunction.

        I don't see a current way to do this, but I think it's something  
that should be added. Could you add a ticket for this?

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to