Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Edit by Community Team member.
Please post in English unless you are posting in a language specific section.
Post translated by Google Translate.
---
Good morning people,
I have a difficulty and, if possible, would like to help:
I created a button to hide some objects, variables ... all right ... works on a project .. another, simply does not hide the object ..
It's very weird...
already put in the object, provided that show, something like 1 = 2, which returns false ... and even then, the object is not hidden ..
In the folder properties / objects / column mode Show is as Conditional = Hidden ... but the object keeps popping up ...
I could not find the logic ...
Is there any property in the folder or document that prevents the display condition of the object applied?
Thank you so much
Luiz
Hi Luiz,
First make sure your variables are being evaluated correctly.
Then add the below in the layout tab show >> conditional
= if( variable/field = some value, 0,1)
0 means hide and 1 means show
Switch the positions of 0 and 1 as needed.
Hi Luiz,
It would be helpfull to see sample app which behave in that way.
As for expression to be used in object property, personally I prefer to use if() which only returns 1 (or true) when the object shall be displayed. So I don't use second param in if(). E.g.:
if('sales'=vShownReport,1)
Best regards,
Maxim
Please see the attached QVW for your reference .