On Dec 11, 2006, at 7:46 AM, Simen Haugen wrote:
> Now it selects every row marked with ctrl (or just a single row if
> clicked with the mouse), but it doesn't work with ranges with shift or
> dragging the mouse.
OK, I see the problem: it looks like a bug in wx. If I do the
following, where 'g' is a grid reference:
g.GetSelectedCols()
=> []
# Select two columns, passing 'True' to the 'addToSelected' param.
g.SelectCol(0, True)
g.SelectCol(1, True)
# Now get the selection
g.GetSelectedCols()
=> []
IOW, it doesn't seem to be respecting the 'addToSelected' param at
all. Let me look into this.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users