TsComboBox dropdown list refresh

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #70237
    Jin
    Participant

    How is it possible to refresh sComboBox dropped down list without closing it. I tried to use sComboBox.UpdateForm on Event OnChange and it works, but if records to much it hangs up. Also possible to uses ComboBox.DroppedDown:=FALSE and after sComboBox1.DroppedDown:=TRUE, but it not so good to see closing and opening combobox every time when it changes. Do you now some other way to refresh it?

    #70242
    Support
    Keymaster

    Hi
    Do you need to update a list of items?
    Can you share a small demo-app? It will help to find a solution faster.

    #70249
    Stephane Senecal
    Participant

    I supose he uses it as a filter. More you type less item there is in the list.
    That’s what I would do.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #70250
    Support
    Keymaster

    Thank you. I will add a solution for dynamic updating of the popup window after Items changing.

    #70434
    Jin
    Participant

    Hi, is it possible to turn off this dynamic update, because it hangs up the applications if items is to much?

    #70440
    Support
    Keymaster

    Hello!
    You tried such code there?

      sComboBox1.Items.BeginUpdate;
    ... Updating items ...
      sComboBox1.Items.EndUpdate;
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.