> I would like to know how I can make sure the code will wait for
> something to process before executing the next line of code or NOT
> wait. I know I'm getting this with Sendmessage or PostMessage but not
> sure with Delphi events. So I guess my question is, Is a Delphi event
> synchronous (waits until first line finishes before going to next
> line) or asynchronous (executes next line even if first line isn't
> finished).
A Delphi event is nothing more than a method pointer. When the
circumstances corresponding to an event occur, the component inspects
its event property. If the property is non-nil, the component invokes
the event handler. That simply calls the method. It's just like calling
any other method. Control is transfered from the caller to that method,
and code in the caller does not run until the method returns.
--
Rob
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
SPONSORED LINKS
| C programming language | Computer programming languages | Java programming language |
| The c programming language | C programming language | Concept of programming language |
YAHOO! GROUPS LINKS
- Visit your group "delphi-en" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

