Sandra Frongillo
asked on
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!
Any help is appreciated!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. I thought I had responded before. It worked!! Thank you for your help!!...
Sandy
Sandy
Excellent! Glad I could help.
Thanks for the points and grade. Happy Holidays.
Thanks for the points and grade. Happy Holidays.
if ( CheckBox1.Checked ) {
ListBox1.Select(1)
ListBox1.Select(2)
ListBox1.Select(3)
}
else {
ListBox1.Unselect(1)
ListBox1.Unselect(2)
ListBox1.Unselect(3)
}