XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
Creating controls and cores from java script https://www.bbs.xwidget.com/viewtopic.php?f=8&t=2707 |
Page 1 of 1 |
Author: | digigamer [ March 9th, 2013, 7:10 am ] |
Post subject: | Creating controls and cores from java script |
is there any way to create(or at least duplicate) a button and place it somewhere from jscript ![]() I tried to use "new" but it doesn't work. ![]() I've tried object.clone() that doesn't work either. ![]() |
Author: | digigamer [ March 20th, 2013, 5:17 pm ] |
Post subject: | Re: Creating controls and cores from java script |
Any one help please?? I need to add a new button to my widget when the user presses the add button.. |
Author: | qiancang [ March 20th, 2013, 8:24 pm ] |
Post subject: | Re: Creating controls and cores from java script |
The code in the update list dosen't work. A example of clone object viewtopic.php?f=11&t=2317&p=3033&hilit=circle&sid=828c60e19fb8c7e5458b536772955b49#p3033 |
Author: | digigamer [ April 6th, 2013, 4:36 pm ] |
Post subject: | Re: Creating controls and cores from java script |
Thanks, qiancang for your answer. But i couldn't properly figure how to do it. You've made a function call to a template object but whats that? Sorry for late reply, i was away for my exams. |
Author: | digigamer [ April 6th, 2013, 4:42 pm ] |
Post subject: | Re: Creating controls and cores from java script |
I've figured out how to create controls/cores in JScript so my problem is solved. Thank you all. If anyone is running into a similar problem... this thread will help you... viewtopic.php?f=8&t=2164 |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |