Hello,
I have this :
if I click and drag the change the size of from everything works perfect , tableview's column are changing according to dragged value but if i click maximize button on top right , tableview's columns are staying as they are , and they are not resizing . How can I make them resize also just like chaning the form size with mouse.
Thanks
I have this :
B4X:
Sub MainForm_Resize (Width As Double, Height As Double)
TableView1.SetColumnWidth(0,TableView1.Width*0.05)
TableView1.SetColumnWidth(1,TableView1.Width*0.14)
TableView1.SetColumnWidth(2,TableView1.Width*0.17)
TableView1.SetColumnWidth(3,TableView1.Width*0.14)
TableView1.SetColumnWidth(4,TableView1.Width*0.20)
TableView1.SetColumnWidth(5,TableView1.Width*0.20)
TableView1.SetColumnWidth(6,TableView1.Width*0.09)
End Sub
if I click and drag the change the size of from everything works perfect , tableview's column are changing according to dragged value but if i click maximize button on top right , tableview's columns are staying as they are , and they are not resizing . How can I make them resize also just like chaning the form size with mouse.
Thanks