I do switching screens correct.There is problem with my old project.Transfered from other service.New projects works without problem.I will try find problem source.
Why you use
if=true
on swicthScreen function.You dont need it.
Oh i understand now.Its triplehunter method discovered too many years ago.Its used to switch to other screen.Like ı want switch to Scren2 from Screen3.There is a another method like manager.Just add handler too screen1 and check closed screen value then open x screen with value.I recommed you do not use triplehunter.When i tested it 2 years ago its makes problems.I recommed manager method.
You dont neeed if true block if you just close or open screen.