G
Guest
Hi, Jeffrey:
I didn't question Control's event order in general, but here the events in
both applications and Overrides On***() and our codes inside them when
customized.
Keep in mind the context is that we are customizing TreeView so we put codes
in Overrides On***() events.
Let's see an event order:
OnNodeMouseClick() --> .NodeMouseClick() --> OnAfterSelect() -->
..AfterSelect().
The order is by design. It looks ok.
But after we customized it, we have codes in OnAfterSelect(). Now we can see
application's .NodeMouseClick() is run before Overrides OnAfterSelect().
In other word, app's codes run before Control's customizing codes.
But I expect all customizing codes are run before any app's codes. So app's
codes can have the correct outcome from customizing codes. But that's not the
case. That's what I mean by "mingle".
Thanks.
Li
I didn't question Control's event order in general, but here the events in
both applications and Overrides On***() and our codes inside them when
customized.
Keep in mind the context is that we are customizing TreeView so we put codes
in Overrides On***() events.
Let's see an event order:
OnNodeMouseClick() --> .NodeMouseClick() --> OnAfterSelect() -->
..AfterSelect().
The order is by design. It looks ok.
But after we customized it, we have codes in OnAfterSelect(). Now we can see
application's .NodeMouseClick() is run before Overrides OnAfterSelect().
In other word, app's codes run before Control's customizing codes.
But I expect all customizing codes are run before any app's codes. So app's
codes can have the correct outcome from customizing codes. But that's not the
case. That's what I mean by "mingle".
Thanks.
Li