找回密码
 立即注册

QQ登录

只需一步,快速开始

farmbrother

论坛元老

4

主题

7

帖子

8934

积分

论坛元老

积分
8934

活字格认证

farmbrother
论坛元老   /  发表于:2014-7-23 09:32  /   查看:7187  /  回复:7
QQ截图20140723092702.jpg (6.76 KB, 下载次数: 130)

7 个回复

倒序浏览
iceman
社区贡献组   /  发表于:2014-7-23 20:36:00
沙发
回复 1楼farmbrother的帖子

问题已近反馈给产品组,有进一步消息反馈给你。
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-8-6 12:03:00
板凳
回复 1楼farmbrother的帖子

可以通过以下代码设置焦点离开 TextField:

  1. TextField tx;
  2.         TextField tx1;
  3.         private void Form1_Load(object sender, EventArgs e)
  4.         {
  5.             this.textControl1.Text = " ";

  6.             tx = new TextField();
  7.             tx.Text = "@TextField1@";
  8.             tx.ShowActivated = true;
  9.             tx.DoubledInputPosition=true;

  10.             tx1 = new TextField();
  11.             tx1.Text = "@TextField2@";
  12.             tx1.ShowActivated = true;
  13.             tx1.DoubledInputPosition=true;

  14.             this.textControl1.TextFields.Add(tx);
  15.             this.textControl1.TextFields.Add(tx1);
  16.         }

  17.         private void textControl1_Click(object sender, EventArgs e)
  18.         {
  19.         }

  20.         private void setToolStripMenuItem_Click(object sender, EventArgs e)
  21.         {
  22.             textControl1.InputPosition = new InputPosition(tx.Start - 1, TextFieldPosition.OutsideTextField);
  23.         }
复制代码
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-8-6 12:05:00
地板
回复 1楼farmbrother的帖子

主要是做了两个设置,TextField DoubledInputPosition 属性设置为 true,重新设置枚举值为 TextFieldPosition.OutsideTextField 的 InputPosition 。
回复 使用道具 举报
dywazg
高级会员   /  发表于:2014-8-13 10:01:00
5#
如果在两个TextField中间插入文本,按一下左右键移出TextField就可以

评分

参与人数 1金币 +300 收起 理由
iceman + 300 帮助用户解决问题

查看全部评分

回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-8-13 15:07:00
6#
回复 5楼dywazg的帖子

恩,是的这也是一种解决方法。

为了感谢您帮助用户解决问题,给您分发 300 金币。可以用于兑换论坛奖品。
金币规则:点击进入
品列表:点击进入
回复 使用道具 举报
mylj123
注册会员   /  发表于:2014-10-22 16:56:00
7#
回复 6楼iceman的帖子

碰到同样的问题,斑竹有什么办法没?我的是FOR ActiveX 17。。。。急。。。。。
回复 使用道具 举报
Alice
社区贡献组   /  发表于:2014-10-22 17:58:00
8#
回复 7楼mylj123的帖子

该问题已经发布到另一个帖子里,在另一个帖子里已经回复。
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部