Help and Support
 

powered byLive Search

BUG: ListBox Text Property Not Functional

Article ID:181281
Last Review:March 11, 2005
Revision:3.1
This article was previously published under Q181281

SYMPTOMS

The Text property of a ListBox always returns an empty string.

Back to the top

RESOLUTION

Use the List and ListIndex properties to return the text of the currently selected item. For example, use:
Dim sMyString
    sMyString = List1.List(List1.ListIndex)
				

instead of:
Dim sMyString
    sMyString = List1.Text
				

Back to the top

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Back to the top


APPLIES TO
Microsoft Windows CE Toolkit for Visual Basic 6.0
Microsoft eMbedded Visual Basic 3.0

Back to the top

Keywords: 
kbbug kbtoolkit kbpending KB181281

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.