Post 1 made on Wednesday July 7, 2010 at 23:20 |
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();
|
|
|