RMateus 发表于 2022-7-6 06:35:28

DCL帮助

我需要你的帮助。
 
我有一个DCL,有3列,每列有8个单选按钮。
我希望开关只能在24个单选按钮中的一个上完成。
我必须改变什么?
附件。
 
谢谢你的帮助。
 
问候语。
samp5.dcl
samp5.lsp

Guest kruuger 发表于 2022-7-6 07:00:11

用单个popup_列表和24个项目替换整个dcl。
如果您真的需要radio_按钮,请在选择新按钮之前清除所有收音机。
克鲁格

MSasu 发表于 2022-7-6 07:08:00

要将它们全部排序到一列上,您需要将其他两列加上:
...
:boxed_radio_column {               //define radio column
label = "Type" ;                     //give it a label
: radio_button {                     //define radion button
key = "rb1" ;                     //give it a name
label = "Bolt Holes &Site" ;      //give it a label
value = "1" ;                     //switch it on
}                                    //end definition
...
: radio_button {                     //define radion button
key = "rb8" ;                     //give it a name
label = "Bolt Holes &Slotted" ;   //give it a label
}                                    //end definition
// }                                     //end radio column
// :boxed_radio_column {               //define radio column
//label = "Type" ;                     //give it a label
: radio_button {                     //define radion button
key = "rb9" ;                     //give it a name
label = "Bolt Holes &Site" ;      //give it a label
}                                    //end definition
...
: radio_button {                     //define radion button
key = "rb16" ;                      //give it a name
label = "Bolt Holes &Slotted" ;   //give it a label
}                                    //end definition
// }                                     //end radio column
// :boxed_radio_column {               //define radio column
//label = "Type" ;                     //give it a label
: radio_button {                     //define radion button
key = "rb17" ;                      //give it a name
label = "Bolt Holes &Site" ;      //give it a label
}                                    //end definition
...

Tharwat 发表于 2022-7-6 07:30:12

这可能不适合屏幕大小,因为对话框的定义太大了。

MSasu 发表于 2022-7-6 07:45:39

作为参考,所有按钮在一列上排序的对话框高717像素。
页: [1]
查看完整版本: DCL帮助