| is a bit wise OR
And? Thats what or is, and more importantly what sean is trying to do
@Sean you are using Case wrong, use an If statement instead
What uou have saiod do is select the case to run on the value of m_kClickState, the or (as has been said) just changes the value of the case
se;ect m_kClickState case clicked select active case true case false