def select(self, position, length):
                """ Select all text from <position> for <length> or end of 
string."""
                try:
                        self.SetInsertionPoint(1)
                        self.SetSelection(position, length)
                except AttributeError:
                        # Only works for text controls
                        pass

If I attempt to use "select" from dDataContorlMixin.py as in
self.select(0,3)
I get an error 
ItemContainer_SetSelection() takes exactly 2 arguments (3 given)
-- 
John Fabiani


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

Reply via email to