紧急求教!关于单选按钮组的返回值问题
<P>紧急求教!</P><P>我有个单选按钮组,我怎么取得点取的单选按钮??</P>
<P>谢谢!</P> <P>如果用 Grread</P>
<P>Command: (Grread)<BR>(11 1271)</P>
<P>如果您的选单是固定的话,就如是权宜认定吧</P>
<P> </P>
<P> </P> <P>如果是单选按钮组,(radio_row或radio_column),它的value值就是选中radio的key值...</P> <P>比如如下:</P>
<P> </P>
<P> </P>
<P> : boxed_radio_row {<BR> key = "tf0";<BR> label = "图幅选择";<BR> edit_width=30;</P>
<P> : radio_button{<BR> Key="tf00";<BR> label="A0";<BR> }<BR> : radio_button{<BR> Key="tf01";<BR> label="A1";<BR> }<BR> : radio_button{<BR> Key="tf02";<BR> label="A2";<BR> }<BR> : radio_button{<BR> Key="tf03";<BR> label="A3";<BR> }<BR> : radio_button{<BR> Key="tf04";<BR> label="A4";<BR> }<BR> }</P>
<P> </P>
<P>我如何知道所选的是哪个??谢谢你们的帮助!</P> <P>3楼不是已经说了吗...</P>
<P>不过注意,DCL文件区分大小写,,,你先把对话框弄对了</P> : boxed_radio_row {
key = "tf0";
label = "图幅选择";
edit_width=30;
: radio_button{
Key="tf00";
label="A0";
value= "1"
}
: radio_button{
Key="tf01";
label="A1";
}
: radio_button{
Key="tf02";
label="A2";
}
: radio_button{
Key="tf03";
label="A3";
}
: radio_button{
Key="tf04";
label="A4";
}
}
页:
[1]