[SOLVED] How to close all content on logout

NP.

If you take that approach, make sure to do the login code on the login form in the “show” event, not under init else the Main form will still be visible. Example :

https://anvil.works/ide#clone:ZKGLGKYA2R25XSK6=OWIYRIQAEBVQXGSEYDLQPMTJ

6 Likes