XWidgetSoft Forum
https://bbs.xwidget.com/

Slide panel true or false... HOW???
https://bbs.xwidget.com/viewtopic.php?f=7&t=2918
Page 1 of 1

Author:  Armando [ April 10th, 2013, 9:44 am ]
Post subject:  Slide panel true or false... HOW???

I want to write the right script code for slide or unslide.
something like these (that doesn't word, certainly...)

SlidePanel1.slided = true;

SlidePanel1.slided = false;

Why? Because I need to do differents actions when I press a button, and one of this actions is to unslide a button.

I can't use this code:

slidepanel1.Slided = !slidepanel1.Slided;

Because I want to be secure that I unslide, (with this code actually you can just do the opposite of what it currently is).

THANKS!

Author:  qiancang [ April 12th, 2013, 2:40 am ]
Post subject:  Re: Slide panel true or false... HOW???

the slidepanel name is case sensitive.
I think your slidepanel name is "slidepanel1", not "Slidepanel1".

Author:  Armando [ April 12th, 2013, 3:38 am ]
Post subject:  Re: Slide panel true or false... HOW???

Ups!...
Thanks Qiancang!!!

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/