Page tracking question
adys
Posts: 395
I have the same DVD in 5 differnt places, so I wanted to use the same screen.
But then I am loosing is the ability to save the statuses in the screen chanels...
What is your recomended way? to save the statuses in my program and to use the same screen or to use different screen for each instance so I can use the chanels to hold current buttons states?
(I am talking only about buttons states)
While checking and learning how to work with same page for all I found out that page tracking can help with this, I just can't find how to catch the page change event details..
What I want to do is to catch the load of the page and to update it with the right status for the specific instance. again, only if this is the right thing to do , maybe after all its better to duplicate the page?
Thanks for any help
Ady.
But then I am loosing is the ability to save the statuses in the screen chanels...
What is your recomended way? to save the statuses in my program and to use the same screen or to use different screen for each instance so I can use the chanels to hold current buttons states?
(I am talking only about buttons states)
While checking and learning how to work with same page for all I found out that page tracking can help with this, I just can't find how to catch the page change event details..
What I want to do is to catch the load of the page and to update it with the right status for the specific instance. again, only if this is the right thing to do , maybe after all its better to duplicate the page?
Thanks for any help
Ady.
0
Comments
What I do is write a function (or call) to handle my pop-ups, and do a SWITCH/CASE on the current source (a basic example is here somewhere on the forums). If you're panel has a central area where your sources are controlled, you put them into a "popup group" and they become mutually exclusive, so there really isn't much code to handle showing popups - just call out the popup you want up and current one closes. Doing this would also allow you to write a seperate function (or call) that would update the text on the page with much ease.
Just my two cents...
About my first question, what approach do you recommend?
I have same device in 5 diff rooms.
To hold 5 diff pages to save states in channels, or to use 1 screen and to hold states in code and update screen on load?