Delphi and Events

From: Richard (rwskinner_at_worldnet.att.net)
Date: 12/29/03

  • Next message: KLinZ: "Re: Delphi and Events"
    Date: Mon, 29 Dec 2003 01:40:22 GMT
    
    

    How does one check events and processmessages from a unit?

    Main Program passes to a procedure in a support unit, that procedure
    executes a tight loop, while that loop is processing, I'd like to do
    Application.ProcessMessages however I can't seem to do that "Application is
    unknown". I've tried Form1.Application.ProcessMessages but it doesn't work
    either.

    Next, while i'm in a procedure or Function within another unit, how Can I
    check if an event has fired from the main application? Set a global boolean
    variable and check it?

    It's comport routines.... The event that tells me I have characters waiting
    is in the main program, but The support unit is the one that sends data and
    waits for it to come in.


  • Next message: KLinZ: "Re: Delphi and Events"