Home Articles Books Downloads FAQs Tips

Q: Create a ComboBox that doesn't allow users to type into the EditBox.


Answer:

Set the Style property to csDropDownList. This prevents the user from entering a text string. You may need to initialize the ItemIndex property to select the correct item during bootup. See the FAQ Select an item in a ListBox or ComboBox from code for more information.



Copyright © 1997-2000 by Harold Howe.
All rights reserved.