大胆的按钮 [英] Bold Button

查看:80
本文介绍了大胆的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i希望在工具条上创建一个按钮,就像微软Word中的粗体按钮一样,香港专业教育学院尝试过一些东西,但我认为我已经离开..而且我对VB很新soo可以sum1请解释如何做这个并给我看剧本!


谢谢


散文!

Hi,
i want to make a button on a toolstrip that is like the bold Button in Microsoft Word, ive tried a few things but i think im way off.. and im farely new to VB soo could sum1 please explain how to do this and show me the script!

Thanks

Prose!

推荐答案




i想在工具条上创建一个按钮,就像Microsoft Word中的粗体按钮一样尝试了一些东西,但我认为我的方式..而且我很新的VB soo可以sum1请解释如何做到这一点,并告诉我脚本!
Hi,
i want to make a button on a toolstrip that is like the bold Button in Microsoft Word, ive tried a few things but i think im way off.. and im farely new to VB soo could sum1 please explain how to do this and show me the script!



它的哪一部分给你带来麻烦?我们不知道按钮应该做什么,或者做什么。


您使用的是什么版本的VB?


你能告诉我们你到目前为止做了什么吗?

What part of it is giving you trouble? We don''t know exactly what the button is supposed to do, or to what.

What version of VB are you using?

Can you show us what you''ve done so far?



它的哪一部分给你带来麻烦?我们不知道按钮应该做什么,或者做什么。


您使用的是什么版本的VB?


你能告诉我们你到目前为止做了什么吗?
What part of it is giving you trouble? We don''t know exactly what the button is supposed to do, or to what.

What version of VB are you using?

Can you show us what you''ve done so far?



好​​基本上我什么都没做..我一直在写东西和运行程序而且它不起作用..所以我再次尝试使用Visual Basic 2005 Express Edition。 。我想要一个按钮在点击时加粗选定的文字..然后再点击它会解开所选文本..是否有足够的信息供你帮助?


Well Basically ive done nothing.. i keep writing stuff and running program and it doesnt work.. soo i try again and im using Visual Basic 2005 Express Edition,.. and i want a button to bold selected text when clicked.. and wen clicked again it will unbold the selected text.. is that enough information for u to help me?



好​​基本上我什么都没做..我一直在写东西和运行程序,它不起作用..所以我再试一次,即时通讯使用Visual Basic 2005 Express Edition,...我想要一个按钮来单击时选中粗体文本..然后再次单击它将取消选中所选文本..是否有足够的信息供您使用?
Well Basically ive done nothing.. i keep writing stuff and running program and it doesnt work.. soo i try again and im using Visual Basic 2005 Express Edition,.. and i want a button to bold selected text when clicked.. and wen clicked again it will unbold the selected text.. is that enough information for u to help me?



不是我,因为我不知道VB2005 - 只有VB6。


但是,文本是什么?例如,如果它在文本框中,我认为您只能为整个控件打开或关闭粗体,而不是文本的一部分。当然,RichTextBox控件是一个不同的故事。


您也可以尝试在.Net论坛中询问是否得到更好的响应。

Not me, because I don''t know VB2005 - only VB6.

However, what is the text in? If it''s in a textbox for example, I think you can only turn bold on or off for the entire control, not part of the text. The RichTextBox control is a different story, of course.

You could also try asking in the .Net forum and see whether you get a better response.


这篇关于大胆的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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