[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum XWidget & XLaunchpad , Desktop customization 2014-04-10T00:22:20-08:00 https://bbs.xwidget.com/feed.php?f=8&t=4344 2014-04-10T00:22:20-08:00 2014-04-10T00:22:20-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7958#p7958 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> Statistics: Posted by qiancang — April 10th, 2014, 12:22 am


]]>
2014-04-10T00:10:54-08:00 2014-04-10T00:10:54-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7956#p7956 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> Statistics: Posted by digigamer — April 10th, 2014, 12:10 am


]]>
2014-04-09T05:05:20-08:00 2014-04-09T05:05:20-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7949#p7949 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> var icon = template.Clone(list);
widget.InitControl(icon); // it's necessary!
icon.Parent = list;
icon.Name = "icon"+i;
icon.Top = (i-1)*72 + 4;
icon.Left = 0;
icon.Core = shortcutlistcore1;
icon.Coreformat = '%item'+i+'_Icon';
icon.Visible = true;
}

Statistics: Posted by qiancang — April 9th, 2014, 5:05 am


]]>
2014-04-09T00:03:43-08:00 2014-04-09T00:03:43-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7944#p7944 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> Looks like we needed to set the absolute path of the icon not the relative ones...

icon.Coreformat = WidgetPath+'\\%item'+i+'_Icon';

However, this causes the !Open to not fire correctly... Still, a fix was possible using event handlers.

Will post the scripts after a little finishing touches :mrgreen:

Statistics: Posted by digigamer — April 9th, 2014, 12:03 am


]]>
2014-04-08T23:07:39-08:00 2014-04-08T23:07:39-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7943#p7943 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> If you edit shortcut 1 it updates OK, so shortcut 1 is working all OK.
So if shortcut 1 works OK ... What is the difference between shortcut 1 and the others ???
As you said it seems to be the clone process that makes it not work ???

Statistics: Posted by meme — April 8th, 2014, 11:07 pm


]]>
2014-04-08T22:13:43-08:00 2014-04-08T22:13:43-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7942#p7942 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]>
I even tried using an image inplace of the button, still nothing...

Statistics: Posted by digigamer — April 8th, 2014, 10:13 pm


]]>
2014-04-08T18:35:46-08:00 2014-04-08T18:35:46-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7940#p7940 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> if you set icon.src = WidgetPath+'default.png', you can see them after adding shortcuts.
but their src don't change. it's strange.

Statistics: Posted by qiancang — April 8th, 2014, 6:35 pm


]]>
2014-04-08T18:22:21-08:00 2014-04-08T18:22:21-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7939#p7939 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> Statistics: Posted by digigamer — April 8th, 2014, 6:22 pm


]]>
2014-04-08T18:20:00-08:00 2014-04-08T18:20:00-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7938#p7938 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> Statistics: Posted by digigamer — April 8th, 2014, 6:20 pm


]]>
2014-04-08T18:13:12-08:00 2014-04-08T18:13:12-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7937#p7937 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> Statistics: Posted by qiancang — April 8th, 2014, 6:13 pm


]]>
2014-04-08T09:31:22-08:00 2014-04-08T09:31:22-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7931#p7931 <![CDATA[Re: Help me with these script... Clone doesn't seem to work]]> Statistics: Posted by Jimking — April 8th, 2014, 9:31 am


]]>
2014-04-08T07:48:10-08:00 2014-04-08T07:48:10-08:00 https://bbs.xwidget.com/viewtopic.php?t=4344&p=7928#p7928 <![CDATA[Help me with these script... Clone doesn't seem to work]]> Statistics: Posted by digigamer — April 8th, 2014, 7:48 am


]]>