I have a sizer created at runtime. I have added some columns an rows.
I have added a control in one cell, but when the I move the splitter, the control just added doesn't resize automatically.
It only happens when I use c1sizer.grid.clear and I insert rows and columns. If I have a sizer with rows and cols, the resize run properly
Do I need code in the event SplitterMoved or not?
And if the response is yes, How can i know which control added I need to resize depending on the band resized?
My sample
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim t As New ButtonSiz.Controls.Add(t)
t.Bounds = GetCellRectangle(Siz, 0, 1)
End SubPrivate Function GetCellRectangle(ByVal vSizer As C1Sizer, ByVal row As Integer, ByVal col As Integer) As Rectangle Return Rectangle.Intersect(vSizer.Grid.Rows(row).Bounds, vSizer.Grid.Columns(col).Bounds)
End Function