Refresh comport list with CPortlaz lazarus / 62-General ---------------------------------------------------------------------- PeterH · 2020-05-14 20:12 Hello, I'm using CPORTLaz which has special TComCombobox component to show all the ports available on my computer. It does that when the software is started (component is created). Since it's possible that a port is added (FTDI) when my program is running I want to make a refresh button. This button has to refresh the  TComCombobox items with the current available ports on my PC. Can this be done? Thanks in advance and with best regards, Peter ---------------------------------------------------------------------- jamie · 2020-05-14 23:47 A Well behaved device detection code would monitor the WM_DEVICECHANGE message and automatically scan the devices when signaled..  But in your case I am sure there is a refresh method... Actually I think there is a Refresh method already in there... have you tried "Refresh"? It could be overridden … But in any case if you just open the source code up you can see what needs to be done to do so..