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

scrollbox Multiple selection

Explorer ,
Dec 20, 2017 Dec 20, 2017

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.

TOPICS
Scripting

Views

427

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

Enthusiast , Dec 22, 2017 Dec 22, 2017

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

...

Votes

Translate

Translate
Enthusiast ,
Dec 21, 2017 Dec 21, 2017

Copy link to clipboard

Copied

Hi,

Are you using the FDK or ExtendScript with Script UI?

Ian

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
Explorer ,
Dec 21, 2017 Dec 21, 2017

Copy link to clipboard

Copied

I am using the FDK.

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
Community Expert ,
Dec 22, 2017 Dec 22, 2017

Copy link to clipboard

Copied

Over to Scripting you go then ;>)

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
Explorer ,
Dec 24, 2017 Dec 24, 2017

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

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
Enthusiast ,
Dec 22, 2017 Dec 22, 2017

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:

ScrollBox.png

I hope that this is useful information?

Ian

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
Explorer ,
Dec 24, 2017 Dec 24, 2017

Copy link to clipboard

Copied

LATEST

Hi,lan.

Thank you for your advice, I'd like to create two scroll boxes.

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