FIX: Combo Box Behaves Erratically with Timer ControlLast reviewed: October 29, 1997Article ID: Q161184 |
The information in this article applies to:
SYMPTOMSUsing a Timer Control and a combo box simultaneously may produce erratic results. Under some circumstances, the combo box may not reflect the last item chosen from its list. However, many times it may act properly. Furthermore, if a check box is present, the check box may become automatically unchecked when certain selections are made from the combo box list.
RESOLUTIONThe example below contains two procedures, PROCEDURE Combo1.Valid and PROCEDURE Check1.MouseDown, which are included in the code as comments. By removing the asterisks, the two procedures fix the problems. The first procedure, Combo1.Valid, allows the selection of any item in the combo's list. The second procedure, Check1.MouseDown, prevents the check box from becoming unchecked by selections made within the combo box.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0a.
MORE INFORMATION
Steps to Reproduce Behavior
PROCEDURE Combo1.mousedown LPARAMETERS nButton, nShift, nXCoord, nYCoord thisform.timer1.enabled= .f. ENDPROC PROCEDURE Combo1.InteractiveChangeEvent LPARAMETERS nButton, nShift, nXCoord, nYCoord thisform.timer1.enabled= .t. ENDPROC Keywords : buglist5.00 FxprgGeneral vfoxwin vfpfix5.0a kbprg kbbuglist kbfixlist Version : 5.0 Platform : WINDOWS Issue type : kbbug Solution Type : kbfix |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |