Jump to content

Select an item if another is selected...


Bendes

Recommended Posts

Hi everybody,

Treeview example :

X Java Runtime Environment
O Microsoft Office
X OpenOffice.org

I want to do the following :

If "OpenOffice.org" is selected then I want that "Java Runtime Environment" is also selected...

How can I do that ??? With "if.true" instruction is possible ???

:huh:

Link to comment
Share on other sites


The best thing to do is to set the Java Runtime as a sub item of OpenOffice so if you select OpenOffice, the runtime will be selected also.

You can also add a test to see if the Java Runtime is already installed, to prevent a reinstall.

While I don't have my test computer here, I can't give you an example, but will try later.

Link to comment
Share on other sites

The best thing to do is to set the Java Runtime as a sub item of OpenOffice so if you select OpenOffice, the runtime will be selected also.

You can also add a test to see if the Java Runtime is already installed, to prevent a reinstall.

While I don't have my test computer here, I can't give you an example, but will try later.

Thanx XPect but I don't want to do so because in my society you can install JRE for some reasons and not install OpenOffice.org...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...