Derek Harvey
2008-07-18 16:41:33 UTC
If I place a TDriveCombo on a form then when the form is opened the thing
generates a list of the drives currently present. If a new 'drive' is
inserted, i.e., a USB stick or anything else that looks to Windows like a
'drive', this list is not updated until the form is closed and re-opened.
Is it possible to make TDriveCombo re-generate the list? I.e., as an
alternative to making the thing using new and providing means of killing it
and re-making when the user does the insertion. I am prepared to do that if
necessary and assume I will need to do it also with the associated
DirectoryList thingy.
With the common use now of such transient drives I am surprised the thing
has not bee enhanced to provide this. Perhaps there is an alternative
component I just haven't yet come across? It must be a common requirement
and I am sure someone somewhere has an elegant solution.
Derek
generates a list of the drives currently present. If a new 'drive' is
inserted, i.e., a USB stick or anything else that looks to Windows like a
'drive', this list is not updated until the form is closed and re-opened.
Is it possible to make TDriveCombo re-generate the list? I.e., as an
alternative to making the thing using new and providing means of killing it
and re-making when the user does the insertion. I am prepared to do that if
necessary and assume I will need to do it also with the associated
DirectoryList thingy.
With the common use now of such transient drives I am surprised the thing
has not bee enhanced to provide this. Perhaps there is an alternative
component I just haven't yet come across? It must be a common requirement
and I am sure someone somewhere has an elegant solution.
Derek