I'm confused about what is going on here. I was introduced to UpdateContext()
I have a screen CREATE, in this screen's OnVisible I have
UpdateContext({TitleDisplayDisabled: true, TopicAnalysisMinimize: true})
I want to hide a form with var TopicAnalysisMinimize. So I go into this form Visible property and tried these two evals
Visible = TopicAnalysisMinimize; assuming this would work as var TopicAnalysisMinimize is true right now)
Visble = If(TopicAnalysisMinimize, true, false); assuming this would work as TopicAnalysisMinimize is true
HOWEVER,
If I revert my second to: If(TopicAnalysisMinimize, false, true); This actually works and my forms is hidden
I do not understand what is going on, if TopicAnalysisMinimize is true then my first argument in the If should be evaluated?