HOWTO: Determine if DBCombo MatchEntry Property is Read-only

Last reviewed: July 14, 1997
Article ID: Q154816
The information in this article applies to:
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0

SUMMARY

This article discusses how to determine whether the MatchEntry property of the DBCombo is read-only. When setting the MatchEntry property of a DBCombo control to "1 - Extended Matching"(at run time or design time), Visual Basic may report that the "Property is read-only."

MORE INFORMATION

Extended Matching may be used only when the DBCombo control has the Style property set to "2 - Dropdown List." This restriction is not documented.

Additionally, there is a bug in the Custom Properties dialog of the 32-bit DBCombo control. The Custom Properties dialog reports "Property is read only" if both the style is changed to "2 - Dropdown List," the MatchEntry property is changed to "1 - Extended Matching," and then the changes are applied. This error is not reported if the style is changed and applied first followed by changing and applying the MatchEntry property.


Keywords : PrgCtrls vb4all vb4win kbhowto
Version : 4.0
Platform : NT WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.