When removerow is done doing it's job is it suppose to do the next line of code after it or go back to the begining of the sub it's in?
Sub Table1_SelectionChanged (ColName, Row)
iRow = Row
' Msgbox(row)
txtx1.Text = table1.Cell("x1",iRow)
txty1.Text = table1.Cell("y1",iRow)
txtx2.Text = table1.Cell("x2",iRow)
txty2.Text = table1.Cell("y2",iRow)
txtr.Text = table1.Cell("r",iRow)
z = table1.Cell("Header",iRow)
^
i
i
i most of the time not all it goes back to the beginning of this sub. Sometimes it follows by doing the rest of the code behind it.
table1.RemoveRow(iRow)
mnulabel1.Text = table1.RowCount - 1
DeleteSegment
Drawing
End Sub
dennishea
edit: oh almost forgot and sometimes it doesn't wait for you to prompt it for next line of table it wipes out the whole table.
Sub Table1_SelectionChanged (ColName, Row)
iRow = Row
' Msgbox(row)
txtx1.Text = table1.Cell("x1",iRow)
txty1.Text = table1.Cell("y1",iRow)
txtx2.Text = table1.Cell("x2",iRow)
txty2.Text = table1.Cell("y2",iRow)
txtr.Text = table1.Cell("r",iRow)
z = table1.Cell("Header",iRow)
^
i
i
i most of the time not all it goes back to the beginning of this sub. Sometimes it follows by doing the rest of the code behind it.
table1.RemoveRow(iRow)
mnulabel1.Text = table1.RowCount - 1
DeleteSegment
Drawing
End Sub
dennishea
edit: oh almost forgot and sometimes it doesn't wait for you to prompt it for next line of table it wipes out the whole table.
Last edited: