471,348 Members | 1,349 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Re: Equivalent to Application.EnableEvents in C#

On Fri, 12 Sep 2008 10:13:45 -0700, SLL <se**********@gmail.comwrote:
[...]
Does this make more sense? I can provide additional information if
needed. I would prefer to steer clear of posting the actual code on a
public group board, but would be willing to have a personal
discussion.
You don't have to, nor should you, post the entire code in question.
Simply construct a concise-but-complete code sample that demonstrates the
issue. Leave out everything that isn't directly related to the issue
itself.

A suitably abridged code sample will necessarily not contain any
proprietary information and so would be perfectly fine to post publicly.

As Anthony said, if you have a method named NewData() that has in it a
call to another method C() that is unconditionally executed, then once
NewData() returns to the caller, you are _guaranteed_ that the method C()
has been called.

Without an actual code example, it's impossible to truly understand your
question. It seems likely to me that if for some reason your UI can't
keep up with the data stream, then either you'll need to make the UI code
more efficient, or you'll need to include some explicit throttling to
ensure that you don't actually update the UI with every single event on
the data stream.

But without seeing the actual code, there's no practical way to provide
advice as to how to do that.

Pete
Sep 12 '08 #1
0 805

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by John | last post: by
6 posts views Thread by Frank Rachel | last post: by
6 posts views Thread by exquisitus | last post: by
5 posts views Thread by TomislaW | last post: by
9 posts views Thread by Alan Silver | last post: by
2 posts views Thread by GS | last post: by
4 posts views Thread by pcnerd | last post: by
18 posts views Thread by Csaba Gabor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.