How to know when an Event is done executing?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I put instructions within the Resize Event handler of a PocketPC program.
The instructions basically reset the sizes and locations of the objects on
the form. I base everything on the Form Height and Width. The problem the
resizing doesn't occur. The variables are set but the objects don't change.
If I can get a notification of when the resizing event has finished then I
can change the object sizes.

Any suggestions ould be appreciated.

Poe
 
Assuming you all your code is executing in the same thread, events are
synchronous, meaning that they fire one after another and they do not
overlap with your code.
 
Back
Top