Copy link to clipboard
Copied
Hi.
Is it possible to set scrollbox on a custom dialog to multiple selection?
If it is, please tell me how to do it.
Thank you.
1 Correct answer
Not good news with the FDK dialogs. The description of the ScrollBox reads:
F_ApiScrollBox() displays an array of items and allows the user to choose one.
The arguments for F_ApiScrollBox() also define 'selected_item' as IntT. So unless anyone knows of an undocumented feature, the answer is single selections only.
The reason I asked if you are using ExtendScript is that you can allow multiple selections in its equivalent control.
One way to get around this limitation is to use the double scroll box
...Copy link to clipboard
Copied
Hi,
Are you using the FDK or ExtendScript with Script UI?
Ian
Copy link to clipboard
Copied
I am using the FDK.
Copy link to clipboard
Copied
Over to Scripting you go then ;>)
Copy link to clipboard
Copied
Hi, Jeff.
I'd like to extend the functionality of my existing plugins, so I am not thinking about using ExtendScript now.
But thank you for your advice
Copy link to clipboard
Copied
Not good news with the FDK dialogs. The description of the ScrollBox reads:
F_ApiScrollBox() displays an array of items and allows the user to choose one.
The arguments for F_ApiScrollBox() also define 'selected_item' as IntT. So unless anyone knows of an undocumented feature, the answer is single selections only.
The reason I asked if you are using ExtendScript is that you can allow multiple selections in its equivalent control.
One way to get around this limitation is to use the double scroll box concept to move items between the two scroll boxes which can be seen in several places in the FrameMaker UI:
I hope that this is useful information?
Ian
Copy link to clipboard
Copied
Hi,lan.
Thank you for your advice, I'd like to create two scroll boxes.

