On Thursday, August 15, 2013 9:11:05 PM UTC+2, Giovanni wrote:
>
>
>     'requested': {
>>                'invisible': And(Bool(~Eval('requesting'))
>>                                  , (Eval('state') == 'free')  
>>                                   ),
>>                     },
>>
>> 'invisible' means just that. From what is written here, the button  will 
> be invisible when
> 'state' is 'free' and 'requesting' is checked.
>
> What you want should be something like :
> 'invisible': Not(And(~~Eval('requesting), Eval('state') == 'free'))
>
>
Thanks! That's working like I wanted. The button is now only shown when the 
state is "free" and the checkbox "requesting" is checked.

Ed

Reply via email to