I wonder if do events will also clear the buffer
Al

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Gene Wirchenko
Sent: 06 July 2009 19:34
To: [email protected]
Subject: RE: mouse clicks being buffered between forms

At 07:36 2009-07-06, Gilbert M. Hale <[email protected]> wrote:
>I have had to use INKEY() for another strange behavior.  When I want to
>change for forecolor of a button, or some coloration of some other object,
I
>found I have to use INKEY(.1) to allow the change to occur, otherwise it
>sometimes works, sometimes won't.  Very handy tip with the mouse click
delay
>need.  I will keep that further use in mind.  It is still a "cheat" though,
>which appeals to me <g>...

      You make the change.  That causes an event to be queued to do 
the updating (Paint?).  If you continue processing, the event does 
not fire.  Sometimes, you finish the current method whereupon the 
next event fires;  that is when your change works.  inkey() 
apparently allows events to fire, and that is why it works.

>Gil
>
>



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/00b701c9fe62$09f98f50$1decad...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to