On Apr 2, 2011, at 8:50 AM, Rasmus Schøler Sørensen wrote:
> Sorry for the delay! I mistakenly sent email from a wrong address which
> was not subscribed to the list (and thus got held up by the list's filters).
No problem - I try to check the filters at least once a day, but
yesterday was pretty busy for me.
> Example file is on dabo.codepad.org.
>
> While I was creating the example file for you, I found myself unable
> to reproduce the error. Or, more precisely, the error was present BOTH
> when using a wizard and when using a dForm for displaying the page.
>
> I have not yet figured out the reason for this difference.
The problem was in the call to grid.addColumn(). You had inBatch=True,
which bypasses the code that syncs the Dabo column count with the underlying wx
grid display. When adding columns in a batch, you need to call
grid._syncColumnCount() manually. Normally this is only done by framework
methods; perhaps the 'inBatch' parameter should have been called '_inBatch' to
emphasize this point.
In any case, remove the 'inBatch=True' parameter, and the grid should
display properly.
-- 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]