Show no internet connection Message in perspective screen

How to show message in perspective screen when there is no internet connection or gateway connection is lost.

what if there is no internet connection? will this work

No! You're right since for Perspective all of that logic is on the gateway. I've deleted that post.

Have a read of Quality Codes and Overlays - Ignition User Manual 8.1 - Ignition Documentation. The overlays for Perspective aren't as comprehensive as those for Vision.