Hello,
I have a table that has two columns.
When I fill the table, I want that the second column will be resized to stay in the table width.
There are two cases:
I've tried to do this:
but of course this is not the correct way to accomplish this.
I've read this in the forum, but I'm not sure if this will be a solution for me.
Someone can help me, please?
I have a table that has two columns.
When I fill the table, I want that the second column will be resized to stay in the table width.
There are two cases:
- The rows are a lot so the table shows a vertical scrollbar
- The rows are few so I don't need the scrollbar
I've tried to do this:
B4X:
[LEFT][FONT=Verdana][SIZE=2][COLOR=#010101][COLOR=#010101][FONT=Times New Roman]Table1.ColWidth("Col1") = 100
[/FONT][/COLOR][/COLOR][/SIZE][/FONT][FONT=Verdana][SIZE=2][COLOR=#010101][COLOR=#010101][FONT=Times New Roman]Table1.ColWidth("Col2") = Table1.Width - [/FONT][/COLOR][/COLOR][/SIZE][/FONT][FONT=Verdana][SIZE=2][COLOR=#010101][COLOR=#010101][FONT=Times New Roman]Table1.ColWidth("Col1")[/FONT][/COLOR][/COLOR][/SIZE][/FONT][/LEFT]
I've read this in the forum, but I'm not sure if this will be a solution for me.
Someone can help me, please?