• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Radio Button Select and Deselect

New Here ,
Aug 04, 2020 Aug 04, 2020

Copy link to clipboard

Copied

Hi Experts,

I've designed InDesign plugin UI with some widgets including three radiobuttons....

After opening my plugin while selecting the radio button i can enable all the three radio buttons..

But, i want to enable only one radio button....

I have done the validation using Select and Deselect to select only one but it won't work...

what i want to do??????????

I know it's simple to experts but i'm struggling here.......... Guide me.

Thanks in advance..

 

Regards,

-ParvathiKannan.

TOPICS
How to , SDK

Views

678

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guide , Aug 04, 2020 Aug 04, 2020

You can aggregate an observer at an enclosing widget boss, e.g. the palette panel. If you're working on a dialog, some of the functionality may also end up at the dialog controller.

For any dynamic behaviour you subscribe the observer to the notifications of each widget, and maintain matching state - e.g. in member variables of the observer. When one button, or checkbox, is changed, maintain the dependencies - enable other fields, populate dropdowns, or in your case toggle the dependent radio but

...

Votes

Translate

Translate
Guide ,
Aug 04, 2020 Aug 04, 2020

Copy link to clipboard

Copied

You can aggregate an observer at an enclosing widget boss, e.g. the palette panel. If you're working on a dialog, some of the functionality may also end up at the dialog controller.

For any dynamic behaviour you subscribe the observer to the notifications of each widget, and maintain matching state - e.g. in member variables of the observer. When one button, or checkbox, is changed, maintain the dependencies - enable other fields, populate dropdowns, or in your case toggle the dependent radio buttons. Their setter methods have additional parameters so you don't trigger a notification cascade.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 05, 2020 Aug 05, 2020

Copy link to clipboard

Copied

LATEST

Hi Dirk,

Thankyou....

Now my problem is fixed...

 

Thanks,

-ParvathiKannan.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines