ID:260739
 
Yet another feature request... you must totally love me now.

Currently winshow() only allows you to show and hide a window. Could it be made that if you send a winshow call like so:

winshow(client, "windowid", 2)

That it will find any windows that were cloned from that windowid and hide all of those?

Perhaps you could also make it so if you use

winshow(client, "windowid", 3)

To completely delete a window. This will delete all the elements on the window and finally the window itself. It'll probably be limited to windows created at runtime / cloned windows, but it would be a very nice feature to have as I have one particular project which has the potential for a large amount of panes which can be opened and closed (and should be discarded instead of stored in RAM).
I'd like to see something obvious like...

windel(src, <control name>) // Deletes the control and if its a container, everything in the container as well (includes window).


if you supply a type, it will delete all controls of that type.
windel(src, <control name>, type="Button") // Deletes all buttons in the specified container (Control Name).


There are other obvious variations of filtered deleting.

ts