Copy link to clipboard
Copied
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
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Hi Peter,
I referred the pdf only in p.28 as you suggested, sorry for the mistaken. Yes listboxes having the onchange handler. Thanks.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more