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

Script UI for Dropdown checkbox

Engaged ,
Jun 11, 2012 Jun 11, 2012

Hi All,

I need a checkbox within the dropdown list in Script UI,  and have a doubt whether this will be possible or not.

Thanks in advance for all helping hands.

Regards,

Imagine

TOPICS
Scripting
2.4K
Translate
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

Community Expert , Jun 12, 2012 Jun 12, 2012

I'm not sure that I understand what you mean, but I think the answer is yes, that's possible. Why don't you go through the guide I mentioned earlier -- it has several examples of processing listboxes, including the use of the onChange handler.

Peter

Translate
Enthusiast ,
Jun 11, 2012 Jun 11, 2012

Hi,

not sure, but if you're aim is multiselect, then have a look at UI-Element 'listbox' instead of a dropdown list ...

Hope this'll be of some help

Hans-Gerd Claßen

Translate
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
Community Expert ,
Jun 11, 2012 Jun 11, 2012

You can't do checkboxes in lists. If you mean a checkmark, that's possible in listboxes, as Hans-Gerd suggested. See http://www.kahrel.plus.com/indesign/scriptui.html, p. 28, for details.

Peter

Translate
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
Engaged ,
Jun 12, 2012 Jun 12, 2012

Hi Both,

Thanks to both for the reply,   I want the OnChange event for the user selecting the list items in listBox UI,  Is there any events for list items has selected? so that i will changing the listbox.items[0].checked = true; or false.

This will be possible?

Translate
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
Community Expert ,
Jun 12, 2012 Jun 12, 2012

I'm not sure that I understand what you mean, but I think the answer is yes, that's possible. Why don't you go through the guide I mentioned earlier -- it has several examples of processing listboxes, including the use of the onChange handler.

Peter

Translate
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
Engaged ,
Jun 12, 2012 Jun 12, 2012
LATEST

Hi Peter,

I referred the pdf only in p.28 as you suggested,  sorry for the mistaken.  Yes listboxes having the onchange handler.  Thanks.

Translate
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