XWidgetSoft Forum https://bbs.xwidget.com/ |
|
Adding Event's in Javascript https://bbs.xwidget.com/viewtopic.php?f=10&t=2081 |
Page 1 of 1 |
Author: | vlad [ September 4th, 2012, 12:20 am ] |
Post subject: | Adding Event's in Javascript |
How to add/remove a costume created event to a object? (In the code, without using the Inspector Functions) ??? |
Author: | Shezoid [ September 4th, 2012, 3:06 am ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | Tony [ September 4th, 2012, 3:06 am ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | Tony [ September 4th, 2012, 3:08 am ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | vlad [ September 4th, 2012, 6:11 am ] |
Post subject: | Re: Adding Event's in Javascript |
My aim is to create a short cut add some events to it (Thank to you it all working now ) and attach a core to it. As much as i tried to go around the code and try to hack it, i cannot manage to create a new instance of the core, and I'm not sure if its needed to be attached to the widget or not... help please. |
Author: | flibio [ September 4th, 2012, 8:28 am ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | qiancang [ September 5th, 2012, 11:55 pm ] |
Post subject: | Re: Adding Event's in Javascript |
hi,vlad,may i know why you want to creat shortcut in code? if you need a widget with dynamic shortcut number , you can use the shortcutlist core , here is a example: |
Author: | vlad [ September 6th, 2012, 10:41 pm ] |
Post subject: | Re: Adding Event's in Javascript |
Thank you qiancang! u just made my widget possible |
Author: | qiancang [ September 7th, 2012, 12:06 am ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | flibio [ September 7th, 2012, 4:46 am ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | qiancang [ September 7th, 2012, 6:27 am ] | ||
Post subject: | Re: Adding Event's in Javascript | ||
|
Author: | flibio [ September 7th, 2012, 11:28 am ] |
Post subject: | Re: Adding Event's in Javascript |
Thanks quiancang, I know how create or clone controls in code. The need of dinamically creating instances of cores comes in order to make a widget which displays information of all the drives. The fix drives aren't a problem, but removable drives such USB or firewire cannot be predefined. You should create a diskcore for every letter of the the system drives, which is highly inefficient. Right now I can do the trick using WMI queries but CPU activity is a little high, and I would rather use the diskcore, but obviously only if I can create it dinamically. That's my need, but there are a lot of scenarios in which would be interesting create a core dinamically. |
Author: | vlad [ September 8th, 2012, 1:28 am ] |
Post subject: | Re: Adding Event's in Javascript |
Nice ! The cloning objects is very handy, now i can create unlimited amount of icons |
Author: | qiancang [ September 8th, 2012, 5:00 am ] | ||
Post subject: | Re: Adding Event's in Javascript | ||
|
Author: | vlad [ September 8th, 2012, 9:03 pm ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | Tony [ September 9th, 2012, 1:33 am ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | vlad [ September 9th, 2012, 5:02 am ] |
Post subject: | Re: Adding Event's in Javascript |
Thanks Just submitted my project at deviant art, thanks to you guys. |
Author: | stormitornado [ April 13th, 2013, 1:16 pm ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | Tony [ April 13th, 2013, 4:50 pm ] |
Post subject: | Re: Adding Event's in Javascript |
Author: | stormitornado [ April 13th, 2013, 11:56 pm ] |
Post subject: | Re: Adding Event's in Javascript |
it works, thank you very much |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |