Hi everyone,
How can i find and remove dynamicly created object on runtime ? I want to find Panelx1 (dynamicly created.) and remove. is it possible ?
UniSession.AddJS('if (Ext.get("Panelx1")) {Ext.get("Panelx1").remove();}');
mypanel := TUnipanel.Create(Self);
with Tunipanel(InsertControl(mypanel)) do
begin
Caption := '1';
LayoutConfig.Flex := 1;
layoutconfig.Height := '100%';
Parent := UniContainerPanel1;
Name := 'Panelx1';
end;
Thanks