Oposit dependency in AHPreferences
Hello,
Here is example I use the screen dependens on "check1"
cat1.Initialize("Nast")
cat1.AddCheckBox("check1", "Manual/Auto", "Manual", "Auto", True, "")
prac.Initialize("Po-Pa","check")
prac.AddCheckBox("pr1","1","","",False,"")
prac.AddCheckBox("pr2","2","","",False,"")
cat1.AddPreferenceScreen(prac,"check1")
If check1 is true screen will be accessible and if not checked screen will not be accessible. It is clear, but I need together add another checkbox dependes oposit on check1. Something like this:
cat1.AddCheckBox("checkoposit", "Auto1/Auto2", "Auto ver.1", "Auto ver.2", True, NOT "check1")
If "check1" is true check oposit will not be accessible and if not checked it will be accesible
Thanks for your suggestions........ kiwi