Jump to content

Recommended Posts

Posted

Please I need your help.

 

I have a DCL with 3 columns with 8 Radio Buttons in each column.

I wanted the switch could only be done in only one of 24 Radio Buttons.

What do I have to change?

Attached files.

 

Thanks for the help.

 

Greetings.

samp5.dcl

samp5.lsp

Guest kruuger
Posted

replace whole dcl with single popup_list and 24 items on it.

if you really want radio_button then clear all radio before select new one.

kruuger

Posted

To have them all sorted on one column you will need to supress the other two:

...
: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
[color=magenta]// }                                     //end radio column
// :boxed_radio_column {                 //define radio column
//  label = "Type" ;                     //give it a label
[/color]  : 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
[color=magenta]// }                                     //end radio column
// :boxed_radio_column {                 //define radio column
//  label = "Type" ;                     //give it a label
[/color]  : radio_button {                     //define radion button
  key = "rb17" ;                      //give it a name
  label = "Bolt Holes &Site" ;        //give it a label
 }                                    //end definition
...

Posted

That might not fit to the screen size due to the big definition of the dialog , gust a guess .

Posted

For reference, the dialog with all buttons sorted on a single column is 717 pixels high.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...