Skip to main content
rombanks
Inspiring
January 27, 2019
Question

Framescript Medit dialog with checkboxes - restrict selection to one

  • January 27, 2019
  • 1 reply
  • 2727 views

Hello framers!

I don't see a way to restrict checkbox selection in the Medit dialog box to only one out of X. Is this possible?

Many thanks!

Roman

This topic has been closed for replies.

1 reply

4everJang
Legend
January 27, 2019

You need a radio button for that.

rombanks
rombanksAuthor
Inspiring
January 27, 2019

Hi Jang,

I appreciate your response!

Medit doesn't seem to support the radio button option.

Regards,

Roman

4everJang
Legend
January 28, 2019

Hi Roman,

Can you show the code you have? I don't know Medit yet. Is that part of the ScriptUI library?

I have always used the Dialog anf built my own controls, rather than using the layout manager. In cases where a radio button was not possible or not desirable but I still wanted a similar effect, I added some code on each of the check boxes that unchecked all the other boxes. A bit of code might help in offering better help.

Good luck

Jang