>> >> I have the following code: >> >> >> --------------------------------------------------------------------------- >> >> def onGridCellSelected(self, evt): >> print "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" >> print evt >> print evt.col >> if evt.col < 2: >> print "***********************************************" >> self.CurrentColumn = 2 >> self.refresh() >> --------------------------------------------------------------------------- >> >> I am wanting to skip grid columns 0 and 1 while doing entry. >> I mouse click or tab on column 0 or 1 cell >> >> The above code fires: >> The line of x's print >> The evt.col prints >> the *'s print >> but when done, I am still in the cell I started with. > > Try changing that to: > > self.setAfter(self.CurrentColumn,2) > > Paul > >
I get AttributeError: 'Grid....' object has no attribute 'setAfter' I'm on Rev 4281 Thanks Paul McNary [EMAIL PROTECTED] _______________________________________________ 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]
