XWidgetSoft Forum https://xwidget.com/bbs/ |
|
Position Keep top most / bottom - HOW TO DO??? https://xwidget.com/bbs/viewtopic.php?f=7&t=2724 |
Page 1 of 1 |
Author: | Armando [ March 11th, 2013, 11:11 am ] |
Post subject: | Position Keep top most / bottom - HOW TO DO??? |
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!! |
Author: | qiancang [ March 11th, 2013, 8:37 pm ] |
Post subject: | Re: Position Keep top most / bottom - HOW TO DO??? |
function widgetOnLeave() { WindowZPosition=0; } function widgetOnEnter() { WindowZPosition=2; } -1:bottom 0:normal 1:topmost 2:keep topmost |
Author: | Armando [ March 12th, 2013, 4:41 am ] |
Post subject: | Re: Position Keep top most / bottom - HOW TO DO??? |
Excellent! It's very useful this code! thanks qiancang!! |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |