Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Reset ElShellcombobox if a usb stick is plugged in or taken out.

ElShellcombobox update, refresh and any other instruction I can think of does not reset the drive list.  If I plug in a stick after starting the program I cannot find it.thus making the program useless unless I  restart it.  Similarly removing the stick (if you start the program with it available) - you cannot remove the drive from the list.

Comments

  • 1 Comment sorted by Votes Date Added
  • I've added RefreshItems public method. For now you can use the following workaround:

    procedure TForm1.Button1Click(Sender: TObject);
    begin
      ElShellComboBox1.ShowHidden := not ElShellComboBox1.ShowHidden;
      ElShellComboBox1.ShowHidden := not ElShellComboBox1.ShowHidden;
    end;
Sign In or Register to comment.