本文介绍了如何扩展tablelayoutpanel数据长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个TableLayoutPanel1,当我添加数据时,它会被切断。
这是我的代码。
I have a TableLayoutPanel1 and when I add the data it gets cut off.
Here is the code I have.
Public Sub addBracket83()
B8(12) = "Cameron Santana"
PS38(12) = "120"
B8(13) = "LuisSantana"
PS38(13) = "150"
tb1(0).Text = B8(12) & " " & PS38(12)
tb2(0).Text = H8(12)
tb3(0).Text = B8(13) & " " & PS38(13)
tb4(0).Text = H8(13)
p1(0).Controls.Add(tb1(0))
p2(0).Controls.Add(tb2(0))
p3(0).Controls.Add(tb3(0))
p4(0).Controls.Add(tb4(0))
TableLayoutPanel7.Controls.Clear()
TableLayoutPanel7.Controls.Add(p2(0), 0, 0)
TableLayoutPanel7.Controls.Add(p1(0), 0, 0)
TableLayoutPanel7.Controls.Add(p4(0), 0, 1)
TableLayoutPanel7.Controls.Add(p3(0), 0, 1)
End Sub
当它加载在TableLayoutPanel上时它只显示
Cameron Santana
Luis Santana 150
无论TableLayoutPanel的显示都没有显示。
我尝试过:
找不到任何可以尝试的东西看了看看
when it loads on the TableLayoutPanel it only shows
Cameron Santana
Luis Santana 150
No matter the with of the TableLayoutPanel it does not show.
Image Link
What I have tried:
Can not find anything to try I have looked and looked
推荐答案
这篇关于如何扩展tablelayoutpanel数据长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!