我如何...如何移动和调整c#中的单词 [英] How do I...how to move and resize word in c#

查看:80
本文介绍了我如何...如何移动和调整c#中的单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


i想在richtextbox中写一个单词然后我想用鼠标改变它的大小并在页面上移动它我该怎么办?

如果它不可能请告诉我它可能带有什么控制

With Respect

Hi i want to write a word in richtextbox and then i want to change it size with mouse and move it all around the page how can i do it?
if its not possible please tell me its possible with what control
With Respect

推荐答案

是的RichTextBox并不真正支持这样的东西。如果您处理鼠标滚轮事件,您可以更改侧面,但不支持移动文本。



您可以使用标签在面板控制,但您必须提供代码以在鼠标下移动标签。
Yeah the RichTextBox doesn't really support something like that. You can change the side if you handle the mouse wheel events, but moving the text around isn't supported.

You can do something like that with a Label on a Panel control, but you have to come up with the code to move the label around under the mouse.


这篇关于我如何...如何移动和调整c#中的单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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