我找到了Kenny Ramage的DCL,我打算将其用于删除实体lisp。我打算将“螺栓孔和现场”替换为“点”,“螺栓孔Sho&p”替换为“非常短的线”等
- samp4 : dialog { //dialog name
- label = "Structural Holes" ; //give it a label
- :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 radio button
- key = "rb2" ; //give it a name
- label = "Bolt Holes Sho&p" ; //give it a label
- } //end definition
- : radio_button { //define radio button
- key = "rb3" ; //give it a name
- label = "Bolt Holes &Hidden" ; //give it a label
- } //end definition
- : radio_button { //define radio button
- key = "rb4" ; //give it a name
- label = "Bolt Holes &Ctsnk" ; //give it a label
- } //end definition
- : radio_button { //define radio button
- key = "rb5" ; //give it a name
- label = "Bolt Holes &Elevation" ; //give it a label
- } //end definition
- : radio_button { //define radion button
- key = "rb6" ; //give it a name
- label = "Bolt Holes &Slotted" ; //give it a label
- } //end definition
- } //end radio column
- ok_cancel ; //predifined OK/Cancel
- : row { //define row
- : image { //define image tile
- key = "im" ; //give it a name
- height = 1.0 ; //and a height
- width = 1.0 ; //and now a width
- } //end image
- : paragraph { //define paragraph
- : text_part { //define text
- label = "Designed and Created"; //give it some text
- } //end text
- : text_part { //define more text
- label = "by Kenny Ramage"; //some more text
- } //end text
- } //end paragraph
- } //end row
-
- } //end dialog
我想要的是默认选中所有的无线电按钮,然后我可以在单击“确定”之前取消选择任何我想要的按钮。
我需要更改/添加什么才能选中所有单选按钮? |