Problem "Free sDBCombobox or sCombobox"

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35375
    BuzzLeclaire
    Participant

    Hello,

    Free function generates an error AccessViolation.

    Try

    1) Install the following components:

    – sDBComboBox or sComboBox,

    – DBCombobox or Combobox (components origin)

    – sDBLookupCombobox

    in a new Forms.

    2) Use the following procedure related to a TButton

    Code:
    procedure TForm1.sButton1Click(Sender: TObject);
    begin
    DBComboBox1.Free; // ok
    sDBLookupComboBox1.Free; // ok
    sDBComboBox1.Free; //error

    end

    Thank you for your help.

    #49108
    Support
    Keymaster

    Hello!

    Which version of Delphi do you use?

    I can't reproduce it, can you send me an example, please?

    #49132
    BuzzLeclaire
    Participant

    Hello,

    I use delphi 2009.

    I changed my method.

    I use a TsPanel as Parent and i have no problem.

    thx

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.