📄 subject_64787.htm
字号:
<p>
序号:64787 发表者:robslove 发表日期:2003-12-12 18:50:24
<br>主题:spin控件跟edit控件的相互关联
<br>内容:请问下<BR>spin控件跟edit控件的相互关联<BR>该怎么实现?<BR><BR>我看一个例子是这样的<BR>SPIN控件:General栏为visable,Tab Stop;<BR> Style为Orientation->verical,Align right,Autobuddy,Set buddy integer,<BR> Wrap Arrow Keys<BR>EDIT控件:Style为Number,Border<BR><BR>这样设置后,两个控件就自动关联了<BR>弄得我莫名其妙的<BR>照他的做法也的却能实现<BR>不过只能有一个spin跟一个edit<BR>要是再多一对的话就会出错<BR>不知道到底怎么回事
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
回复者:凯凯 回复日期:2003-12-12 20:21:07
<br>内容:设了Autobuddy属性,会自动和它的前一个ID值控件绑定,不能一对多。
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:robslove 回复日期:2003-12-12 20:33:37
<br>内容:能具体点吗?<BR>ID值是怎样对应起来的<BR>如果要设置多组这样的对应该怎么设置?
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:红苹果 回复日期:2003-12-12 22:51:17
<br>内容:你看看这个。不是ID,而是指edit控件的tab顺序要在有自动buddy的spin控件的tab顺序前面一个。<BR>Auto Buddy Automatically selects the previous window in Z-order as buddy window to the spin button. In a dialog template, this is the control which precedes the spin button in the tab order. Associated with the UDS_AUTOBUDDY style.<BR><BR>2003-12-12 22:51:47
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -