找回密码
 立即注册

QQ登录

只需一步,快速开始

骋飞

注册会员

2

主题

5

帖子

50

积分

注册会员

积分
50
最新发帖
骋飞
注册会员   /  发表于:2016-8-1 16:13  /   查看:3144  /  回复:4
http://www.textcontrol.com/en_US ... ieldsetinputpos.htm

If the current text input position is a position at the beginning or at the end of a marked text field with a doubled input position, this method can be used to define whether the position is inside or outside the field. The input position's character position is not changed.

Introduced: 13.0.

Syntax
TXTextControl.FieldSetInputPos FieldInputPositionParameterDescription
FieldInputPositionSpecifies the position. It can be one of the following Constants:

ValueDescription
txInsideFieldThe current input position is inside the field.
txOutsideFieldThe current input position is outside the field.
txInsideNextFieldThe specified position is inside the next field. This value is only possible, if there are two following fields without any character between the fields. In this case txInsideField is in the first field, txOutsideField is between the fields and txInsideNextField is in the second field.

Return Value
The return value is non-zero if the input position has been changed. It is zero if the current input position is not at the beginning or the at the end of a field or if the field has no doubled input position.


Data Types
FieldInputPosition:Integer
Return value:Boolean


FieldInputPosition的数据类型是Integer,不知道应该是几个什么值,我从0-20都试了完全没有效果,高手帮忙分析一下

4 个回复

倒序浏览
Alice
社区贡献组   /  发表于:2016-8-1 16:25:00
沙发
文档里有啊,FildInputPosition就是图里的三个值:
textcontrol1.png
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
骋飞
注册会员   /  发表于:2016-8-1 16:28:28
板凳
要求是integer型啊,这三个字符串如何表示成integer型啊
回复 使用道具 举报
骋飞
注册会员   /  发表于:2016-8-1 16:33:29
地板
哪位大神帮个忙啊,我都弄了一天了
回复 使用道具 举报
Alice
社区贡献组   /  发表于:2016-8-1 17:07:33
5#
骋飞 发表于 2016-8-1 16:33
哪位大神帮个忙啊,我都弄了一天了

ActiveX直接设置Value(比如:txInsideField )就可以了,你使用value设置是有什么问题么?
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

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