XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently March 28th, 2024, 2:52 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: March 11th, 2013, 11:11 am 
Offline
User avatar

Joined: June 12th, 2012, 11:05 am
Posts: 257
Location: Barcelona
Another question:
I want: when "OnMouseEnter" the widget change to "keep topmost" and when I go out ("OnMouseLeave") it returns to "normal".
How I can do this?
THANKS!!


Top
 Profile  
 
PostPosted: March 11th, 2013, 8:37 pm 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
function widgetOnLeave()
{
WindowZPosition=0;
}

function widgetOnEnter()
{
WindowZPosition=2;
}


-1:bottom 0:normal 1:topmost 2:keep topmost


Top
 Profile  
 
PostPosted: March 12th, 2013, 4:41 am 
Offline
User avatar

Joined: June 12th, 2012, 11:05 am
Posts: 257
Location: Barcelona
Excellent! It's very useful this code! 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 81 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