Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Checkbox that selects contents of a listbox

Posted on 2004-11-24
4
Medium Priority
?
590 Views
Last Modified: 2010-08-05
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!
0
Comment
Question by:SFrongillo
  • 3
4 Comments
 
LVL 8

Expert Comment

by:WileECoyote45305
ID: 12696558
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
 
LVL 8

Accepted Solution

by:
WileECoyote45305 earned 1000 total points
ID: 12735739
Were you able to get this to work?
0
 

Author Comment

by:SFrongillo
ID: 12736000
Thanks.  I thought I had responded before. It worked!! Thank you for your help!!...

Sandy
0
 
LVL 8

Expert Comment

by:WileECoyote45305
ID: 12736131
Excellent! Glad I could help.

Thanks for the points and grade. Happy Holidays.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question