function val = get(A,prop)
%FIGOBJ/GET

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.9 $  $Date: 1998/09/16 17:23:09 $
%   J.H. Roh 

switch prop
case 'Selection'
   val = A.DragObjects.Items;
case 'MyHGHandle'
   val = get(A.aChild,'Parent');
case 'HGHandle'
   val = get(A.aChild,'Parent');
case 'MyHandle'
   figHG = get(A.aChild,'Parent');
   figUD = getappdata(figHG,'ScribeObjectData');
   try
      val = figUD.HandleStore;
   catch
      error('HGOBJ has no handle...');
   end
case 'Figure'
   figHG = get(A.aChild, 'Parent');
   val = figHG;
otherwise
   figHG = get(A.aChild, 'Parent');
   val = get(figHG, prop);
end   
