Change View programatically

Discuss issues and ideas you have to configuring displays with PowerVision
andymartyn
Posts: 25
Joined: Wed Oct 29, 2014 4:51 am

Change View programatically

Post by andymartyn » Wed Jun 17, 2015 9:56 am

I have a screen that has a keyboard, and on enter parses a password in order to display a hidden menu. To do this I use scripting, although I realise there is probably a way to do this with a state machine. But that aside it got me wondering, is there a simpler way to programatically change view other than the following:

Code: Select all

SendAction(ApplicationIDs.UIApp, ActionIDs.UIApp_Show_View, PageViewIDs.Menu_Layer_Calibration_View);
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: Change View programatically

Post by stalley » Wed Jun 17, 2015 2:05 pm

Hello andymartyn,

That looks fine to me, you are sending the same action that we use on a button press event or transition event. It seems simple and straight forward.
Sara Talley
Software Engineer
Enovation Controls