Hi,
I have the following problem: I placed the cursor against the end of the
table, this functioned so far. But the table does not update the position,
so that I do not see the end.
This is my class:
class SimpleGrid(wxGrid):
def __init__(self, parent, log):
wxGrid.__init__(self, parent, -1,wxPoint(4,370),wxSize(442,200))
self.log = log
self.moveTo = None
self.CreateGrid(0,4)
self.SetColSize(0, 120)
self.SetColLabelValue(0, "A")
self.SetColLabelValue(1, "B")
self.SetColLabelValue(2, "C")
self.SetColLabelValue(3, "D")
self.reihe =-1
def Insert(self,text,x,y,z):
self.reihe = self.reihe+1
self.InsertRows(self.reihe,1,updateLabels=TRUE)
self.SetCellValue(self.reihe,0, text)
self.SetCellValue(self.reihe,1, ("%6.3f" % x))
self.SetCellValue(self.reihe,2, ("%6.3f" % y))
self.SetCellValue(self.reihe,3, ("%6.3f" % z))
self.SetGridCursor(self.reihe, 0)
Does someone know advice?
Thanks.
Marc
···
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users