<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Popup window bye code in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/popup-window-bye-code/m-p/13499214#M14789</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.0.1 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;In my simulation, I've implemented an error message system &lt;/P&gt;
&lt;P&gt;(with msg() command), which create a popup message if one of my for() cycles do not found the correct value. &lt;/P&gt;
&lt;P&gt;How can I write a codeline which automatically open the window which contain this code what printed the error message earlier?&lt;/P&gt;
&lt;P&gt;If it's not so clear:&lt;/P&gt;
&lt;P&gt;for() running --&amp;gt; there is no corrent value --&amp;gt; popup a message dialog --&amp;gt; I close the dialog --&amp;gt; automatically open the code window which contain the for() cycle.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2018 14:21:09 GMT</pubDate>
    <dc:creator>viktor_tt</dc:creator>
    <dc:date>2018-02-27T14:21:09Z</dc:date>
    <item>
      <title>Popup window bye code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/popup-window-bye-code/m-p/13499214#M14789</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.0.1 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;In my simulation, I've implemented an error message system &lt;/P&gt;
&lt;P&gt;(with msg() command), which create a popup message if one of my for() cycles do not found the correct value. &lt;/P&gt;
&lt;P&gt;How can I write a codeline which automatically open the window which contain this code what printed the error message earlier?&lt;/P&gt;
&lt;P&gt;If it's not so clear:&lt;/P&gt;
&lt;P&gt;for() running --&amp;gt; there is no corrent value --&amp;gt; popup a message dialog --&amp;gt; I close the dialog --&amp;gt; automatically open the code window which contain the for() cycle.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 14:21:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/popup-window-bye-code/m-p/13499214#M14789</guid>
      <dc:creator>viktor_tt</dc:creator>
      <dc:date>2018-02-27T14:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Popup window bye code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/popup-window-bye-code/m-p/13499215#M14790</link>
      <description>&lt;P&gt;If you write the debug() command in your code, it will act like a manual breakpoint. So your code could be something like&lt;/P&gt;&lt;PRE&gt;for(...) {
  checkValue();
  if(!value) {
    if(msg("No value", "There is no value. Do you want to debug the code?", 4)) {
      debug();
    }
  }
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Feb 2018 15:32:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/popup-window-bye-code/m-p/13499215#M14790</guid>
      <dc:creator>mischa_spelt</dc:creator>
      <dc:date>2018-02-27T15:32:40Z</dc:date>
    </item>
  </channel>
</rss>

