Cimplicity - Not that Simple ?

M

Thread Starter

MasterBlaster

Guys, I need your help on a cimplicty screen.
I would have 4 variables changing status between 0 and 1. Depending upon the combination that I get from these variables I would like to open screens using a mouse Up/Down command. I will only have a single button to click by the mouse. All the calculations have to be done and depending upon the expression, selected screens should open.

say for eg. if :
1)Var A =1,Var B=0, Var C=1, var D = 1. Then open Screen ABCD.
2)Var A =0,Var B=1, Var C=0, var D = 0. Then open Screen BCDE.

Can you guys help me on how I should create this logic? I am using Cimplcity 6.1

thanks
 
C
I would make 2 buttons exactly alike and layer them on top of each other.
I would then use the Visibility attribute.

Although a if statement is not needed in the visibility of the object. You will understand the logic statement.

ensure the object is grouped properly and the visibility is set for the grouped object/button


If "Var A =1 and Var B=0 and Var C=1 and var D = 1." = True then Visible.
If "Var A =0 and Var B=1 and Var C=0 and var D = 0." = True then Visible

So basically, the buttons will only seen by the user when a logic statement is True.

Be sure to ensure to give thought to which on is visible by default.
 
Top