bearophile wrote: > some buttons of your GUI I doubt that one wants to _delete_ buttons of a GUI instead of inactivating them and the OP did ask for "a function in the standard library to delete an element from an array", i.e. arrays without any restrictions on the number of elements as supposed by you. -manfred