XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently March 28th, 2024, 6:23 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: April 10th, 2013, 9:44 am 
Offline
User avatar

Joined: June 12th, 2012, 11:05 am
Posts: 257
Location: Barcelona
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!


Top
 Profile  
 
PostPosted: April 12th, 2013, 2:40 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
the slidepanel name is case sensitive.
I think your slidepanel name is "slidepanel1", not "Slidepanel1".


Top
 Profile  
 
PostPosted: April 12th, 2013, 3:38 am 
Offline
User avatar

Joined: June 12th, 2012, 11:05 am
Posts: 257
Location: Barcelona
Ups!...
Thanks Qiancang!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 65 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group