<div dir="ltr"><div><span class="" style="white-space:pre">I think I grabbed this from the E_Basic manual some time ago:</span></div><div><span class="" style="white-space:pre"><br></span></div><div><span class="" style="white-space:pre"> </span>Dim theList As List</div>
<div><span class="" style="white-space:pre"> </span>Set theList = CList(Rte.GetObject(c.GetAttrib("Running")))</div><div><span class="" style="white-space:pre"> </span>If Not theList Is Nothing Then</div><div><span class="" style="white-space:pre"> </span>theList.Terminate</div>
<div><span class="" style="white-space:pre"> </span>End If</div><div><br></div><div>Paul</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 November 2013 22:32, <a href="mailto:Eric@ericwalden.net">Eric@ericwalden.net</a> <span dir="ltr"><<a href="mailto:Eric@ericwalden.net" target="_blank">Eric@ericwalden.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am trying to figure out how to terminate the currently running list on a certain key press. I can get the currently running list with c.GetAttribute("Running"). I can use the list name as a variable in the list as [Running]. What I need is code that basically does this:<br>
<br>if DsiplayProductInfoSlide.ACC = 1 then c.GetAttribute("Running").terminate<br><br>however, c.GetAttribute("Running") is the string name of the running list not the running list itself.<br><br>If I run if DsiplayProductInfoSlide.ACC = 1 then List1.terminates<br>
<br>then it works fine. However, I have many lists and I need it to automatically terminate the current one.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/1cee53cc-755e-4173-8f3c-dfd9bbb97637%40googlegroups.com" target="_blank">https://groups.google.com/d/msgid/e-prime/1cee53cc-755e-4173-8f3c-dfd9bbb97637%40googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/groups/opt_out</a>.<br>
</font></span></blockquote></div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/CAKAdR-v%2BJ6doFk_FGHOaeZ96MBau1K_MOT7JykCbMxfGTusvog%40mail.gmail.com">https://groups.google.com/d/msgid/e-prime/CAKAdR-v%2BJ6doFk_FGHOaeZ96MBau1K_MOT7JykCbMxfGTusvog%40mail.gmail.com</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />