如何在屏幕中滚动文本框 [英] How can a text box be scrolled in the screen

查看:113
本文介绍了如何在屏幕中滚动文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai Friends,

我正在设计项目。在启动屏幕上,我想在屏幕上显示文本框或标签。我需要帮助编写上面的代码。

== rajendran r

Hai Friends,
I am in the process of designing a project. On the startup screen I want a text box or a label scroll in the screen. I need help in writting code for the above.
==rajendran r

推荐答案

在表单上放置一个文本框,然后查看其属性。将其ScrollBar属性设置为Both或Vertical。


请注意,拖动到表单上的备注字段会自动获取此属性集(至少在2010年)
Place a textbox onto your form, then look at its properties. Set its ScrollBar property to Both, or Vertical.

Note that memo fields dragged onto a form automatically gets this property set (atleast in 2010)


先生,谢谢你的提示指导。但我已经询问过屏幕上从左到右滚动的文本框/标签。请帮忙
Sir, Thanks in prompt guiding. But I have asked about the text box / label scrolling from left to right on the screen. Kindly do help


我不知道有什么简单的方法可以做到这一点。有限形式可以是计时器驱动的事件,您可以在其中移动文本框的左侧属性,但这只能在我认为的形式内部工作。


如果你想要更加花哨(和流畅)的东西,你需要调查我认为的API调用。不能帮助你。
I don''t know of any easy way of doing this. A limited form could be a timer driven event where you move the left property of a textbox, but that would only work inside the form I believe.

If you want something more fancy (and smooth) you will need to look into API calls I think. Can''t help you there.


这篇关于如何在屏幕中滚动文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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