Not to allow editing on a dbcomboBox control

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #51579
    CheshireCat
    Participant

    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!

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.