ComboBox Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nanaalwi
    New Member
    • Dec 2006
    • 5

    ComboBox Problem

    Hi guys,

    How to lock the text portion of the ComboBox, but at the same time allows the items from the drop down list to be selected? Meaning that it only allows the selection of items but does not allow the text to be edited manually by users.

    I already set the Locked Property to TRUE but it didn't work. It locked both the text editing as well as the selection item from the list..HELP!!!

    Nway, im using VB6. Really appreciate your help.. Thanx in advance.
  • willakawill
    Top Contributor
    • Oct 2006
    • 1646

    #2
    Hi. change the style to dropdown list

    Comment

    • sukeshchand
      New Member
      • Jan 2007
      • 88

      #3
      but if we chage the style to drop down list we cant search from the combo by more than two letters.
      an another solution is write a search function to search the items in the combobox and call the function at the time of lostfocus of combobox. if the item is present then allow the text other wise not

      Comment

      Working...