[Prev][Next][Index][Thread]

Custom gadgets in a frame



Has anybody run into this problem?


define class <my-list-control> (<list-control>) end class;

define frame <my-frame> (<simple-frame>)
  pane my-list-control (frame)
    make (<my-list-control>);

  layout (frame)
    horizontally()
      frame.my-list-control;
    end;
end frame;

begin
  start-frame (make (<my-frame>));
end;



This yields a runtime error:

<my-frame> is not an instance of <sheet>


Anybody know why this is?  This *severely* limits the extensibility of 
DUIM.

-- Dustin Voss