Re: On Node Change evente with a Treeview

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Archives (musicalesNOSPAM_at_mp3th.net)
Date: 05/03/04


Date: Mon, 3 May 2004 22:42:58 +0200

Hello,

I have many modules which have line "MyNode.selected=True", so I would have
a On_Node_Change event instead to write code after each line.

"Michel Walsh" <vanderghast@VirusAreFunnierThanSpam> a écrit dans le message
de news: OVYfkYQMEHA.1272@tk2msftngp13.phx.gbl...
> Hi,
>
>
> You don't need an event since you are in charge: type whatever your
> "event" would do, immediately the line after.
>
>
> Events are useful when you need asynchronous process (but VBA as a
> single thread of execution), facultative process (when you raise an event,
> there can be no one to catch it, as for most events under an Access FORM,
by
> opposition, if you use a call, the subroutine you call must be present),
or
> when you develop a class or a tool in a psirit to be re-used somewhere
else.
> If you are in your own program, you probably don't need to signal an event
> to itself (remember that VBA has just one thread of execution).
>
>
>
> Hoping it may help,
> Vanderghast, Access MVP
>
>
>
> "Archives" <musicalesNOSPAM@mp3th.net> wrote in message
> news:c6vfm6$ocu$1@news-reader5.wanadoo.fr...
> > Hello,
> >
> > When I use the following code "MyNode.selected=True", I would like that
a
> > event occurs, telling me that the treeview has moved from a node to
> another
> > node.
> >
> > What event should I use ?
> >
> >
>
>



Relevant Pages

  • Re: On Node Change evente with a Treeview
    ... single thread of execution), facultative process (when you raise an event, ... there can be no one to catch it, as for most events under an Access FORM, by ... to itself (remember that VBA has just one thread of execution). ...
    (microsoft.public.access.forms)
  • Re: WSJ article on software liability
    ... >about how your system compares with the idea of a thread of execution. ... >My cride understanding of a computer hardware system is that, ... A COSA system has a single thread of execution, ... is a cell. ...
    (comp.programming)
  • Re: WSJ article on software liability
    ... >>about how your system compares with the idea of a thread of execution. ... >>For instance, according to my understanding, a simple combustion engine ... > A COSA system has a single thread of execution, ... is a cell. ...
    (comp.programming)
  • Re: Clear trapped error : especially Attn Douglass Steele
    ... "The End statement stops code execution abruptly, ... Here is the EndFunction that may be called either from the ErrorFunction ... If Err.Number 0 Then 'VBA errors ... In the ErrorFunction after each trapped error message I need to clear ...
    (microsoft.public.access.modulesdaovba)
  • Re: Long processess and responsiveness
    ... Is there some way I can detatch my IDE from the VBA execution ... open the Locals or Watch window, ...
    (microsoft.public.office.developer.vba)