This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

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

  • 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.