Highlighted

scrollbox Multiple selection

Community Beginner ,
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.

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

TOPICS
Scripting

Views

241

Likes

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

scrollbox Multiple selection

Community Beginner ,
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.

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

TOPICS
Scripting

Views

242

Likes

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
Dec 20, 2017 0
Enthusiast ,
Dec 21, 2017

Copy link to clipboard

Copied

Hi,

Are you using the FDK or ExtendScript with Script UI?

Ian

Likes

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
Reply
Loading...
Dec 21, 2017 0
Community Beginner ,
Dec 21, 2017

Copy link to clipboard

Copied

I am using the FDK.

Likes

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
Reply
Loading...
Dec 21, 2017 0
Adobe Community Professional ,
Dec 22, 2017

Copy link to clipboard

Copied

Over to Scripting you go then ;>)

Likes

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
Reply
Loading...
Dec 22, 2017 0
Enthusiast ,
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

Likes

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
Reply
Loading...
Dec 22, 2017 0
Community Beginner ,
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

Likes

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
Reply
Loading...
Dec 24, 2017 0
Community Beginner ,
Dec 24, 2017

Copy link to clipboard

Copied

Hi,lan.

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

Likes

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
Reply
Loading...
Dec 24, 2017 0