Refresh Button to Refresh a Listbox

Aquí puedes preguntar o compartir tus dudas y conocimientos acerca del programa
Hi all
I have a project that Uninstalls programs that uses a list box, When I Uninstall, It still shows in the ListBox.
I want to add a Button to Refresh the ListBox, How can this be done.

Use a search file find with file.find function. It does exist that file? Yes then not to delete. If result Not? select the variable table from file.find and set the selected item data or text ( item[1] for example from file.find) to delete only that selected soft and then the Listbox.SetUpdate function

Another way is once you uninstalled software deletes that item used to delete the soft and then update the listbox directly

Hi carsonzillo
I would like it to update the list directly, I have used
ListBox.SetUpdate("ListBox1", true);
It did not refresh after I uninstalled, Am i doing something wrong here.
I added the script to the ListBox On Select.

Here is the Uninstaller I am working on.
HIDE: ON
Hidebb Message Hidden Description

Used :
ListBox.DeleteItem("ListBox1", sec[1]);
Or Convert the On Preload Code to Functions and then Call that On Uninstall Button again

Thanks abood i will try that

Thanks

:yes: :yes:

Es lo que buscava
gracias