Skip to main content
Inspiring
December 21, 2017
Answered

scrollbox Multiple selection

  • December 21, 2017
  • 1 reply
  • 807 views

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.

This topic has been closed for replies.
Correct answer Ian Proudfoot

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

1 reply

Ian Proudfoot
Legend
December 21, 2017

Hi,

Are you using the FDK or ExtendScript with Script UI?

Ian

erieru103Author
Inspiring
December 22, 2017

I am using the FDK.

Jeff_Coatsworth
Community Expert
Community Expert
December 22, 2017

Over to Scripting you go then ;>)