Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 1 made on Wednesday July 7, 2010 at 23:20
mon
Long Time Member
Joined:
Posts:
June 2010
11
I am using the following code( referred to pronto script developers' guide) under a button's action to display some info in my pronto page while excuting assigned IR codes' actions whenever the button is pressed.
1)I used a panel and named it " INFO"
2)text and named it " A"
respectively under the panel propertie's advanced tag

As soon as the page start , i want to display the panel , but not the text "A".
I wanna display the text " A" only after the button is clicked.

Any suggestion ?

Thanks


var info = GUI.widget("A");
info.visible = true;
var b = GUI.widget("eg_1");
b.onPress = function (x,y) {
info.visible = true;
}
b.onRelease = function () {
info.visible = false;
};
executeActions();


Hosting Services by ipHouse