Combobox not working properly in V16.00

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #69895
    RJ
    Participant

    When i update to V16:00 the comboboxes will not show a dropdown list.
    I tried to made a demo project for you for this but in the demo the dropdownlist is working but when selecting a item in the list an error is accuring.

    Regards
    Robert

    Attachments:
    You must be logged in to view attached files.
    #69897
    Support
    Keymaster

    Thank you for the message, this error will be fixed at the nearest days.

    #69904
    RJ
    Participant

    In 16.01 the problem is not solved complety. The dropdownlist is not visible or in the background as in the picture in the attachment. When i made a new demo it works but not in my programm.

    Attachments:
    You must be logged in to view attached files.
    #69907
    Support
    Keymaster

    It look’s like popup window is covered by panel placed on the form.
    I’m right?

    #69909
    RJ
    Participant

    yep

    #69910
    Support
    Keymaster

    This panel or form has some specific options used?
    WS_EX_TOPMOST window style maybe?

    #69912
    RJ
    Participant

    The form has fsStayOnTop activated. With the Version 15.xx everything is working perfect.

    #69916
    RJ
    Participant

    In V16.02 it is still not working.

    #69917
    Support
    Keymaster

    Sorry, problem is that I can’t repeat the issue.
    Can you help to repeat it somehow?

    #69918
    Lasse
    Participant

    I had exactly same issue and fixed it like this in acPopupController.pas:

    procedure TsPopupController.AnimShowPopup(AForm: TForm; wTime: word = 0; BlendValue: byte = MaxByte);

    h := HWND_TOPMOST; //TopWndAfter; Lasse

    #69922
    Support
    Keymaster

    Thank you for the information. “TopWndAfter” used only with debugger for prevent of covering of debugger by “TopMost” popup forms.
    Robert, can you confirm that issue exists under debugger only?

    #69927
    RJ
    Participant

    Yes i found out that the problem only is there when i compile and run the program. Wenn i run the .exe the combobox is working ok. The only problem what is happening on both situations is that after the oncreate event from the main form a onChange event is triggered from a combobox who is on an other form.this is very strange.

    Hope this info helps

    #69944
    Support
    Keymaster

    The only problem what is happening on both situations is that after the oncreate event from the main form a onChange event is triggered from a combobox who is on an other form.

    Can you help me to repeat this situation? What should be done for that?

    #69950
    RJ
    Participant

    I found the reason why the onChange event is triggered. The problem is in the procedure sComboBox2.Clear.
    Two things are wrong in this procedure. 1) after clear the onChange event is triggered. 2) the Items ale not cleared, only the .text is cleared. The standard combobox works ok.

    The dropdownlist is not visible or in the background wenn i run the programm in delphi enviroment.

    #69951
    RJ
    Participant

    sorry i forgot the demo programm

    Attachments:
    You must be logged in to view attached files.
    #69955
    Lasse
    Participant

    ComboBox.Clear and ComboBox.Items.Clear are two different things.

    #69958
    Support
    Keymaster

    Thank you, the issue will be solved in the nearest release.

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