PRB: Visible Property Malfunctions with ComboBox in ContainerLast reviewed: January 8, 1997Article ID: Q161835 |
The information in this article applies to:
SYMPTOMSAttempting to set the Visible property of a container from the Valid event of a combo box inside the container causes unusual behavior. If you choose something from the combo box and move off the object, the container disappears but the combo box remains. The combo box is now inactive. However, if the combo box merely gains focus with no selection taking place, the container and its contents become invisible. You can change the Visible property of the container from a command button located on the form without difficulty.
RESOLUTIONPlace the following command in the LostFocus event of the combo box:
This.Parent.Visible=.F.Do not attempt to control the Visible property of the container from the Valid event of the combo box.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
|
KBCategory: kbprg kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |