编辑许多RichTextBoxes和文本框 [英] Editing Many RichTextBoxes and TextBoxes

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

问题描述

我如何剪切,复制,在一个多文本框,从主菜单糊形成的?

How do i cut,copy,paste from main menu in a multi textboxes form ?

如何菜单知道应用在活动文本?

How does the menu knows to apply on the active textbox ?

推荐答案

在菜单中单击事件,你可以检查 this.ActiveControl 来看看有什么控制当前具有输入焦点。

In the menu click event you can examine this.ActiveControl to see what control currently has input focus.

这篇关于编辑许多RichTextBoxes和文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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