customFormat LiveBindings Could not find ifthen

0

I'm trying to use an inverted livebindigs, that is, I have a boolean field that comes from the database and I have to make a button visible when it comes false.

I'm putting in customformat

ifthen( owner.fieldbyname('tem_movimentacao').asboolean,false,true );

but an exception is thrown "EvalError in lpfVisible: Could not find ifthen."

    
asked by anonymous 05.10.2016 / 20:41

1 answer

1

The function must be typed in uppercase and lowercase

IfThen( owner.fieldbyname('tem_movimentacao').asboolean,false,true );
    
06.10.2016 / 13:50