FIX: Click Event of a List Box Fires TwiceLast reviewed: February 20, 1997Article ID: Q156549 |
The information in this article applies to:
SYMPTOMSIn Visual FoxPro 3.0 and 3.0b for Windows, when you click on an item in a list box, the Click event fires and runs the code in the Click event. If the item in the List box is already highlighted and the item is clicked again, the code in the Click event runs twice.
WORKAROUNDIf the desired effect is to click on an item and have the Click event fire once and not fire again until another item is chosen, create a form as follows:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro version 5.0 for Windows.
|
KBCategory: kbprg kbfixlist kberrmsg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |