On Apr 6, 2010, at 11:28 AM, John wrote:
> I continue to have issues with dDropdowns and the number of records
> associated
> with Choices and Keys.
>
> I have traced the issue to
> dControlItemMixin -> _resetChioices().
> The code hangs at
> self.AppendItems(self._choices)
>
> If the number of records in Choices is relatively small (not sure what that
> number is) it works. If the number is much larger (around 3000 - in my case
> 2938) the above line of code just hangs. On Linux it does not complete on
> Windows it is slow but does complete at least once but later calls appear to
> hang.
>
> I have tested this against wx.Choices (in my code) and it works with the 3000
> records. Does anyone have information regarding what steps to take next to
> help debug this.
What do you mean by "I tested it against wx.Choices"? The code you say
hangs is a wx method, not a Dabo method. Are you calling AppendItems() with the
3000-item list on both controls?
Also, are your wx versions the same on both platforms?
-- Ed Leafe
_______________________________________________
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/[email protected]