Prev: Determing the public IP address of an RDP client
Next: I need to convert hex colors from Photoshop to something usablein GDI
From: tadamsmar on 17 Jun 2010 15:57 I tried to update a MSChart in a subroutine, but I don't get updates while the routine is running. The subroutine aquired more data and tries to update the chart, but I did not get a redisplay of the chart till the subroutine ended. I can get visible updates using a timer. I tired everything I knew about or could find: Doevents, Refresh, Redraw.
From: ralph on 17 Jun 2010 16:36 On Thu, 17 Jun 2010 12:57:00 -0700 (PDT), "tadamsmar(a)yahoo.com" <tadamsmar(a)yahoo.com> wrote: >The subroutine aquired more data and tries to update the chart, but I >did not get a redisplay of the chart till the subroutine ended. > How is this routine acquiring "more" data? >I can get visible updates using a timer. > Then do the same. Break up the subroutine so that is a series of "Events".
From: tadamsmar on 18 Jun 2010 08:17 On Jun 17, 4:36 pm, ralph <nt_consultin...(a)yahoo.net> wrote: > On Thu, 17 Jun 2010 12:57:00 -0700 (PDT), "tadams...(a)yahoo.com" > > <tadams...(a)yahoo.com> wrote: > >The subroutine aquired more data and tries to update the chart, but I > >did not get a redisplay of the chart till the subroutine ended. > > How is this routine acquiring "more" data? > > >I can get visible updates using a timer. > > Then do the same. Break up the subroutine so that is a series of > "Events". How do you kick off an event from a subroutine? What is the call for that? Thanks! I have a subroutine Command1_Click. I can kick it off with a command button or via a timer, but how do I put it on the event queue using calls in a subroutine?
From: Steve on 18 Jun 2010 09:49 <tadamsmar(a)yahoo.com> wrote in message news:56fc3fe5-6f45-4bd8-8e0d-18c92bcece7e(a)z8g2000yqz.googlegroups.com... > On Jun 17, 4:36 pm, ralph <nt_consultin...(a)yahoo.net> wrote: >> On Thu, 17 Jun 2010 12:57:00 -0700 (PDT), "tadams...(a)yahoo.com" >> >> <tadams...(a)yahoo.com> wrote: >> >The subroutine aquired more data and tries to update the chart, but I >> >did not get a redisplay of the chart till the subroutine ended. >> >> How is this routine acquiring "more" data? >> >> >I can get visible updates using a timer. >> >> Then do the same. Break up the subroutine so that is a series of >> "Events". > > How do you kick off an event from a subroutine? What is the call for > that? Thanks! > > I have a subroutine Command1_Click. I can kick it off with a command > button or via a timer, but how do I put it on the event queue using > calls in a subroutine? All one must do to "fire" an event handler is to call the event handlers routine. ie. Call Command1_Click() Simple as that Steve
From: Bob Butler on 18 Jun 2010 10:03
"Steve" <sredmyer(a)sndirect.com> wrote in message news:hvfthk$2if$1(a)news.eternal-september.org... > > <tadamsmar(a)yahoo.com> wrote in message > news:56fc3fe5-6f45-4bd8-8e0d-18c92bcece7e(a)z8g2000yqz.googlegroups.com... >> On Jun 17, 4:36 pm, ralph <nt_consultin...(a)yahoo.net> wrote: >>> On Thu, 17 Jun 2010 12:57:00 -0700 (PDT), "tadams...(a)yahoo.com" >>> >>> <tadams...(a)yahoo.com> wrote: >>> >The subroutine aquired more data and tries to update the chart, but I >>> >did not get a redisplay of the chart till the subroutine ended. >>> >>> How is this routine acquiring "more" data? >>> >>> >I can get visible updates using a timer. >>> >>> Then do the same. Break up the subroutine so that is a series of >>> "Events". >> >> How do you kick off an event from a subroutine? What is the call for >> that? Thanks! >> >> I have a subroutine Command1_Click. I can kick it off with a command >> button or via a timer, but how do I put it on the event queue using >> calls in a subroutine? > > All one must do to "fire" an event handler is to call the event handlers > routine. > ie. > Call Command1_Click() > > Simple as that A better option, IMO, would be to use Command1.Value = True |