Not to allow editing on a dbcomboBox control Root › Discussions › AlphaControls This topic has 1 reply, 2 voices, and was last updated 10 years, 9 months ago by CheshireCat. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 16, 2014 at 1:15 am #36041 DelphimpdParticipant Hi and thanks in advanced. How can I can prevent the User to edit or enter data on a dbComboBox. In another words, I want to allow the user ONLY to pick the values in the droList, and not to allow the users to type anything they want. Can this be possible? Thanks February 17, 2014 at 9:03 am #51579 CheshireCatParticipant Hello, you can try: Code: procedure TForm1.sDBComboBox1KeyPress(Sender: TObject; var Key: Char); begin Key := #0; end; Or you can set the Style to csDropDownList. By csDropDownList the Combo Box is empty if data pointer is moved! Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Discussions › AlphaControls