B4J Question Problem TableView Resize

romario87027

Active Member
Licensed User
Longtime User
I can not understand how you can resize a TableView.
Can you suggest something?
thanks
 

romario87027

Active Member
Licensed User
Longtime User
B4X:
Sub TableView1_Resize(Width As Double, Height As Double)
    For i = 0 To TableView1.ColumnsCount - 1
        TableView1.SetColumnWidth(i, (Width - 10dip)/ TableView1.ColumnsCount)
    Next
End Sub
On the test I do this event attracts up to reduce to a minimum the columns
 

Attachments

  • img1.jpg
    img1.jpg
    52 KB · Views: 279
Upvote 0
Top