in
Forums
Blogs
DevExpress.com
Client Center
Support Center
DevExpress Channel

TcxExtLookupComboBox ,when set the AutoSelect and AutoSearch of properties to true ,why my application shut down?

Last post 7/5/2009 7:22 AM by Yin Ping. 2 replies.
Sort Posts: Previous Next
  • 6/17/2009 9:39 PM

    TcxExtLookupComboBox ,when set the AutoSelect and AutoSearch of properties to true ,why my application shut down?

    Hi,all 

    TcxExtLookupComboBox ,when set the  AutoSelect and AutoSearch of properties  to true ,why my application shut down?

    who can tell me why?

    thanks a lot

  • 6/18/2009 8:26 AM In reply to

    Re: TcxExtLookupComboBox ,when set the AutoSelect and AutoSearch of properties to true ,why my application shut down?

    Please report an issue to our Support Center and attach a sample project demonstrating the problem.

    --
    Thanks, Alex
    R&D, VCL Team
    Developer Express Inc.

  • 7/5/2009 7:22 AM In reply to

    Re: TcxExtLookupComboBox ,when set the AutoSelect and AutoSearch of properties to true ,why my application shut down?

    edition 5(Express DBEditors 5) TcxDBExtLookupComboBox

    when i built my Application(with TcxDBExtLookupComboBox component ) and try to input for example "A" for searching something like "A" then i got

    runtime error message "Stack overflow"

    unit:cxControl ,line 2598

     

    procedure TcxControl.MouseMove(Shift: TShiftState; X, Y: Integer);
    var
      AAccepted: Boolean;

      procedure SetCursor;
      var
        ACursor: TCursor;
      begin
        ACursor := FDefaultCursor;
        Cursor := GetCursor(X, Y);
        FDefaultCursor := ACursor;
      end;

    begin
      SetCursor;
      inherited;
      if (DragAndDropState = ddsStarting) and not IsMouseInPressedArea(X, Y) then  // something wrong??
        BeginDragAndDrop;
      if DragAndDropState = ddsInProcess then
      begin
        AAccepted := False;
        DragAndDrop(Point(X, Y), AAccepted);
      end;
    end;

     

Copyright © 1998-2010 Developer Express Inc.
ALL RIGHTS RESERVED