View previous topic :: View next topic |
Author |
Message |
mforkner
Joined: 04 Aug 2004 Posts: 78
|
Posted: Mon Jun 20, 2005 2:51 pm Post subject: Windows Even Component |
|
|
I just realized I could have more than one Windows Event component in a program. That simplifies having timed pauses inside of concurrently running nested modules.
Has anyone else worked with the Windows Event component in multiple nested components? Or running concurrent event traps? |
|
Back to top |
|
|
CodeMorphis
Joined: 02 Dec 2003 Posts: 252
|
Posted: Mon Jun 20, 2005 4:05 pm Post subject: |
|
|
Yes, because the Windows events are centralized through the Synopsis Windows message pump, it is possible to access them from any instance of the Windows Event component from any location in your program. Deciding where to place a Windows Event component is largely a matter of design style. Note that having too many throughout your program may lead to poor design as well as redundant tests for events. However, you have the option to use the component as you require. |
|
Back to top |
|
|
|