terminate current list
Paul Groot
pfc.groot at gmail.com
Tue Nov 5 15:19:21 UTC 2013
I think I grabbed this from the E_Basic manual some time ago:
Dim theList As List
Set theList = CList(Rte.GetObject(c.GetAttrib("Running")))
If Not theList Is Nothing Then
theList.Terminate
End If
Paul
On 4 November 2013 22:32, Eric at ericwalden.net <Eric at ericwalden.net> wrote:
> 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:
>
> if DsiplayProductInfoSlide.ACC = 1 then c.GetAttribute("Running").terminate
>
> however, c.GetAttribute("Running") is the string name of the running list
> not the running list itself.
>
> If I run if DsiplayProductInfoSlide.ACC = 1 then List1.terminates
>
> then it works fine. However, I have many lists and I need it to
> automatically terminate the current one.
>
> --
> You received this message because you are subscribed to the Google Groups
> "E-Prime" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to e-prime+unsubscribe at googlegroups.com.
> To post to this group, send email to e-prime at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/e-prime/1cee53cc-755e-4173-8f3c-dfd9bbb97637%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-v%2BJ6doFk_FGHOaeZ96MBau1K_MOT7JykCbMxfGTusvog%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20131105/efe423e6/attachment.htm>
More information about the Eprime
mailing list