Jump to content

Recommended Posts

Posted

Hello,

I have a little question.

How can I make a condition like deps[pn]=[PA] or [PB] Because if I put deps[pn]=['PA','PB'] the PC needs PA and PB activated.

Thanks in advance, best Regards

  • 2 weeks later...

Posted

From your message and above, maybe I don't get what problem you are having.

I took a random entry, picked 3 programs it is dependant on. The entry is disabled until all the other 3 are checked. That is how it should be.

Now, if you put a condition in one of the dependants, it may get hidden with a FileExists() check, for example. That was where I was getting the error message. Now with the update I sent you, a dependant can be hidden (WPI acts like it wasn't even there) so only the other 2 have to be checked.

If you want me to require that if one is hidden then the entry can't be checked at all. It may aftect how other people have done checks, so it will take some thinking over.

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...