This is normal.  If you hit both buttons together then you'll still generate
two keypresses, one for each.  The first one will execute the action, and
the other will sit in the event queue until something asks for it.  In the
first case, where you're just setting the value of a label, the next check
of the event queue will cause your other action to fire.  In the second case
the event queue will be polled by the message box, which will most likely
discard the other keypress as being irrelevant.

--
Corey Murtagh
The Electric Monk
"Quidquid latine dictum sit, altum viditur."

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to