The information in this article applies to:
SYMPTOMSIn Visual FoxPro 5.0 or 5.0a, setting the Picture property of a ComboBox object in the Init event of the object does not display pictures or icons within the ComboBox. However, the pictures do appear in ComboBox objects running under Visual FoxPro 3.0 and 3.0b. RESOLUTIONSeveral workarounds exist for this behavior. First, you can place the following code in the GotFocus event of the ComboBox object:
You can also place the following code in the Refresh event of the ComboBox
object:
Finally, if you need to leave the original code in the Init of the
ComboBox, then place this code in the Activate event of the form:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words:
Keywords : kbVFp kbVFp500 kbVFp500a FxotherGraphic |
Last Reviewed: December 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |