Visual Basic 2005,表格布局 [英] Visual basic 2005, table layout

查看:114
本文介绍了Visual Basic 2005,表格布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个程序,用户可以单击一个按钮,将按钮添加到表格布局中。

我想知道是否有一种方法/代码可以让我给新的当用户点击它时按钮功能?

解决方案


我创建了一个程序,用户可以点击按钮这将在表格布局中添加一个按钮。

我想知道是否有一种方法/代码可以让我在用户点击它时给出新的按钮功能?



嗨。您可以做的是事先创建按钮加代码并将按钮visible属性设置为false。然后,用户显然可以创建一个新按钮,它是您已经存在的按钮。


希望这有帮助


我尝试过,但我无法让它工作。


我能将代码交给别人让他们修理吗?


< blockquote>


我试过了,但我无法让它工作。


我是否可以将代码提供给有人为他们修理吗?



如果你在这里发布,很多人都可以看一下。他们是否可以解决它,好吧,在你尝试之前你永远不会知道。


就个人而言,我对你所指的表格布局一词感到困惑。 (我是一个老的VB6开发人员,可能只是脱节了。)


I created a program where the user can click a button that will add a button into the table layout.
I was wondering if there was a way/code that can enable me to give the new button functions for when the user clicks on it?

解决方案

I created a program where the user can click a button that will add a button into the table layout.
I was wondering if there was a way/code that can enable me to give the new button functions for when the user clicks on it?

Hi. What you can do is create the button plus code beforehand and set the buttons visible property to false. Then the user can, apparently, create a new button which is the already existing button which you make visible.

Hope this helps


I tried,but i just couldn''t get it to work.

Would i be able to give my code to someone for them to fix it?


I tried,but i just couldn''t get it to work.

Would i be able to give my code to someone for them to fix it?

If you post it here, lots of people can have a look at it. Whether they can fix it, well, you never know until you try.

Personally, I''m confused about what you are referring to by the term "table layout". (I''m an old VB6 developer, and may just be out of touch).


这篇关于Visual Basic 2005,表格布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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