[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]/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-09-02T04:42:21-08:00 https://bbs.xwidget.com/feed.php?f=7&t=43 2014-09-02T04:42:21-08:00 2014-09-02T04:42:21-08:00 https://bbs.xwidget.com/viewtopic.php?t=43&p=9626#p9626 <![CDATA[Re: open and close one widget from another]]> Statistics: Posted by Alona — September 2nd, 2014, 4:42 am


]]>
2014-03-04T15:38:32-08:00 2014-03-04T15:38:32-08:00 https://bbs.xwidget.com/viewtopic.php?t=43&p=7590#p7590 <![CDATA[Re: open and close one widget from another]]>
I saw your question about open and close one widget from another and tried to implement it.
But I cannot get it to work.

Could your post an example of some code that works with actual foldernames and message strings.

Thanks,

Statistics: Posted by nromano63 — March 4th, 2014, 3:38 pm


]]>
2012-07-01T22:48:22-08:00 2012-07-01T22:48:22-08:00 https://bbs.xwidget.com/viewtopic.php?t=43&p=100#p100 <![CDATA[Re: open and close one widget from another]]>

Statistics: Posted by meme — July 1st, 2012, 10:48 pm


]]>
2012-07-01T11:54:15-08:00 2012-07-01T11:54:15-08:00 https://bbs.xwidget.com/viewtopic.php?t=43&p=97#p97 <![CDATA[Re: open and close one widget from another]]> Armando

Statistics: Posted by Armando — July 1st, 2012, 11:54 am


]]>
2012-07-01T08:25:43-08:00 2012-07-01T08:25:43-08:00 https://bbs.xwidget.com/viewtopic.php?t=43&p=95#p95 <![CDATA[Re: open and close one widget from another]]>

to open widget:
startupWidget(foldername,x,y);


to close widget:
button1 is on time widget
function button1onclick()
{
msg(message:string,foldername)
//foldername is the foldername of the widget to which you want to send the message
}

onmsg is the event of calendar widget(the last one)
function widgetonmsg(msgstring)
{
//if(msgstring=="close")
close();
}

hide widget:widget.visible=false
show widget:widget.visible=true
ps: onmsg event is not available in debug, you must to run the widget to test

Statistics: Posted by qiancang — July 1st, 2012, 8:25 am


]]>
2012-06-30T05:42:02-08:00 2012-06-30T05:42:02-08:00 https://bbs.xwidget.com/viewtopic.php?t=43&p=92#p92 <![CDATA[Re: open and close one widget from another]]> Tell as, Tony!

And: It would be nice if you also could set the position where it will open the widget, size, etc..

Statistics: Posted by Armando — June 30th, 2012, 5:42 am


]]>
2012-06-26T17:33:31-08:00 2012-06-26T17:33:31-08:00 https://bbs.xwidget.com/viewtopic.php?t=43&p=83#p83 <![CDATA[open and close one widget from another]]> What is the best way to open and close or show and hide a widget from a button click in another widget ?
Example, a button click in a time display widget could open a calendar widget, then another click to close or hide the calendar widget ?
What code would do this? :)
Thank you...


And of course the answers are use a shortcutcore.... to the widget.xwl file. or the link-path in the button properties :oops:

Statistics: Posted by meme — June 26th, 2012, 5:33 pm


]]>