如何在vb6中旋转标签控件 [英] How do I rotate label control in vb6

查看:149
本文介绍了如何在vb6中旋转标签控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个标签。一个按钮。当我点击按钮时,标签会以任何角度旋转。

如何旋转标签控件?

我正在使用VB6



谢谢

Hi I have a Label. a button. When I click button, label rotates at any angle.
How can I rotate a label control?
I'm using VB6

Thanks

推荐答案

在VB6中,您无法旋转(标准)标签。当时有一些第三方控件允许它 - 我不记得库名,我怀疑它们仍然可用。



然而,您可以通过在图片框上绘制文字来给人留下旋转标签的印象。



这里有一个例子http://www.vb-helper.com/howto_center_rotated_text.html [ ^ ]



请注意,如果您尝试打印旋转的文本你会遇到问题 - 这个 MS Techsupport文章 [ ^ ]介绍了一种方法,虽然我从未尝试过这种方法。



如果你有选择远离VB6,你知道Express ve可以免费下载Visual Studio .NET(包括VB.NET) - http ://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx [ ^ ]
In VB6 you can't rotate the (standard) label. There were some 3rd party controls available at the time that would allow it - I can't remember the library name(s) and I doubt that they are still available.

You can however give the impression that a label is being rotated by drawing text onto a picture box.

There is an example here http://www.vb-helper.com/howto_center_rotated_text.html[^]

Be aware that if you try to print the rotated text you will have issues - this MS Techsupport article[^] describes a way around it, although I have never tried this.

If you have an option to move away from VB6 are you aware that the Express versions of Visual Studio .NET (including VB.NET) are free to download - http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx[^]


这篇关于如何在vb6中旋转标签控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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