金字塔请帮助我做到这一点 [英] pyramiding pls help me to do this

查看:85
本文介绍了金字塔请帮助我做到这一点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何用texbox制作金字塔?例如

第一级文本框1
文本框1的第二级两个文本框textbox2和textbox3
文本框2的第三级四个文本框textbox3和textbox4,然后是textbox3的textbox5和textbox6

很快就可以了...请帮助我

how can i make a pyramid with a texbox? for example

1st level textbox1
2nd level two textbox textbox2 and textbox3 of the textbox1
3rd level four textbox textbox3 and textbox4 of textbox2 then textbox5 and textbox6 of textbox3

and soon and sofort... pls help me

推荐答案

您只需将文本框放在表单上您想要的位置即可.我是否缺少东西?
You just put the textboxes on the form where you want them. Am I missing someting ?


我的解决方法是在运行时创建这些文本框. 我将有一个行"列表,每个行都包含这些文本框作为列".

第一个列表行"将有一个文本框作为列".
第二个行"将具有2,依此类推.

尝试这种方法,看看是否遇到任何问题.
也许有人会在此期间发布更好的方法作为答案.
My approach to this would be to create these textboxes at runtime.
I would have a list of "rows", each containing these textboxes as "columns".

The first list "row" would have 1 textbox as the "column".
The second "row" would have 2 and so on.

Give this approach a try and see if you run into any issues.
Maybe someone will post a better approach as an answer in the meantime.


这篇关于金字塔请帮助我做到这一点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆