自定义输入框
<Input|inputid=xx|type=xx|width=xx|height=xx|color=xx|size=xx|mincount=xx|maxcount=xx|errortips=xx>
--
-- Input 输入框
-- -- inputid(1~9) 输入框ID 用于提交数据
-- -- type 输入类型 0任意文本 1数字 2密码
3绝对值数字(输入09显示9)
-- -- place 空着时提醒文本
-- -- placecolor 空着时提醒文本颜色
-- --
width 输入框宽度
-- -- height 输入框高度
-- -- color 输入文本颜色
-- -- size
输入文本大小
-- -- mincount 最小输入字符数
-- -- maxcount 最大输入字符数
-- -- errortips
输入类型不符提醒
-- -- onlyCh 输入仅能中文
1仅中文
-- -- submitInput (0~9) 提交输入框内容可以提交多个(格式:submitInput=3,4,5)
-- -- 输入的字符常量<$NPCINPUT(X)> X=
1~9
;例子
[@自定义输入框]
#IF
#ACT
#SAY
<Img|children={1,2,3,4,5,6,7,8,9,10,11,12}|show=4|bg=1|esc=1|move=1|wil=对话框|pcimg=112|reset=1|scale9l=10|scale9r=10|scale9t=10|scale9b=10>
<Layout|id=1|children={a1}|x=790|y=60|width=50|height=50|color=x|link=@exit>
<Button|id=a1|a=4|percentx=50|percenty=50|wil=对话框|pcnimg=113|pcmimg=113|pcpimg=114|link=@exit>
<Input|x=20|y=40|width=145|height=25|size=18|place=请输入|placecolor=251|errortips=输入不对|mincount=3|color=250|maxcount=15|inputid=1|type=0>
<Img|x=80|y=240|wil=对话框|submitInput=1|pcimg=115|grey=1|link=@提交>
[@提交]
#IF
#ACT
sendmsg 7
本次输入的值:<$NPCINPUT(1)>