Checkbox that selects contents of a listbox

Hi. Using Hyperion Brio. I've created an EIS page that has a ListBox on it.  I would like to use a Checkbox to select all the items in the listbox or if I deselect the checked checkbox, all items are deselected.

Any help is appreciated!
Sandra FrongilloSenior Business AnalystAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

WileECoyote45305Commented:
This should be the basis of your script on the checkbox. It refers to ListBox1, which has 3 items. Modify as needed for your purposes. The listbox should be set to allow multiple selections.

if ( CheckBox1.Checked ) {
ListBox1.Select(1)
ListBox1.Select(2)
ListBox1.Select(3)
}
else {
ListBox1.Unselect(1)
ListBox1.Unselect(2)
ListBox1.Unselect(3)
}
0
WileECoyote45305Commented:
Were you able to get this to work?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sandra FrongilloSenior Business AnalystAuthor Commented:
Thanks.  I thought I had responded before. It worked!! Thank you for your help!!...

Sandy
0
WileECoyote45305Commented:
Excellent! Glad I could help.

Thanks for the points and grade. Happy Holidays.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB Reporting Tools

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.