FIX: Combo Box Behaves Erratically with Timer Control (161184)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
This article was previously published under Q161184 SYMPTOMS
Using 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.
RESOLUTION
The 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.
STATUS
Microsoft 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.
| Modification Type: | Major | Last Reviewed: | 10/16/2002 |
|---|
| Keywords: | kbBug kbProgramming kbvfp500aFIX KB161184 |
|---|
|