https://foro.gambas-es.org/viewtopic.php?f=1&t=5843&p=34715#p34715
-----------------------------------
Ricardo Prieto
Lunes, 10 Octobre 2016, 03:18

Re: Eliminar Un Control
-----------------------------------
Pregunto si uso directamente el tableview.children me tirar error..?

[code linenumbers=false syntax=gambas]Public Sub Button1_Click()

  Dim a As Integer
  Dim ob As Object
  
   ob = TableView1.Children[0]

   For a = 0 To TableView1.Rows.Max - 1
     If TableView1[a, 1].Text = "1" Then
       TableView1.Rows.Remove(a)
       ob.Children[a].Delete
     Endif
   Next

   a = 0
   
   For Each kb In TableView1.Children -----> Aqui da error
     kb.X = TableView1[a, 0].X
     kb.Y = TableView1[a, 0].y
     Inc a
   Next

End[/code][/quote]


