Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var bool = false;
- isc.HLayout.create({
- membersMargin:10,
- left:40,
- members: [
- isc.IButton.create({
- title:"Show and hide",
- click:"hideAndShow()"
- })
- ,
- isc.IButton.create({
- title:"Show Boolean",
- click:"isc.warn('boolean '+bool)"
- })
- ]
- });
- function hideAndShow(){
- if(bool){
- textbox.show();
- bool = false;
- }
- else{
- textbox.hide();
- bool = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement