DELETE method overloaded for the JCONTROL class DELETE acts on the hgcontainer of the target object. Call this on the parent JCONTROL to delete all its contents. Example: delete(obj) ------------------------------------------------------------------------- Author: Malcolm Lidierth 07/07 Copyright The Author & King's College London 2007 -------------------------------------------------------------------------
0001 function delete(obj) 0002 % DELETE method overloaded for the JCONTROL class 0003 % 0004 % DELETE acts on the hgcontainer of the target object. Call this on the 0005 % parent JCONTROL to delete all its contents. 0006 % 0007 % Example: 0008 % delete(obj) 0009 % 0010 % ------------------------------------------------------------------------- 0011 % Author: Malcolm Lidierth 07/07 0012 % Copyright The Author & King's College London 2007 0013 % ------------------------------------------------------------------------- 0014 0015 delete(obj.hgcontainer); 0016 return 0017 end