<br><div class="gmail_quote">On Tue, Oct 11, 2011 at 12:27 AM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I am _really_ interested in a SpreadsheetMorph.  Just a grid of<br>
objects.  Drag and drop.  &quot;Formulas&quot; would just be Smalltalk<br>
expression strings sent to the SpreadsheetMorph itself, which can<br>
reference any of its cells, of course:<br>
<br>
    (self cellAt: 1@2) + (self cellAt: 1@3)<br>
<br>
would send the #+ message to whatever objects had been dragged into<br>
those referenced cells.<br></blockquote><div><br></div><div>Skeleton is pretty much *exactly* what you&#39;re describing. If you haven&#39;t already, please give it a look: <a href="http://languagegame.org:8080/ggame/11">http://languagegame.org:8080/ggame/11</a>. The SqueakMap package works in the latest Etoys image (I haven&#39;t tried a Squeak image, though).</div>

<div><br></div><div>It supports formulas as smalltalk expressions just as you&#39;re describing (except that it maps cell names as A1, B2, etc.).</div><div>The cells accept drag and drop of Etoys tiles, which is *extremely* cool, because it lets you link the spreadsheet data with the morphic world.</div>

<div><br></div><div>Cheers,</div><div>Richo</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
If I had that, I could finally finish and present a maui-based Office<br>
application for Squeak (word-proc, spreadsheet, presentation -- but<br>
integrated with standard domain objects as characters, cells,<br>
presentations-objects, respectively).  I would use Maui&#39;s rendering to<br>
allow each cell to assume any system or user-defined view.<br>
<br>
Unfortunately it&#39;s way down on my to-do list.  I hope someday I&#39;ll<br>
have time, I think it&#39;d be fun to develop.<br>
<font color="#888888"><br>
  - Chris<br>
</font><div><div></div><div class="h5"><br>
<br>
On Mon, Oct 10, 2011 at 9:59 PM, Ricardo Moran &lt;<a href="mailto:richi.moran@gmail.com">richi.moran@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Mon, Oct 10, 2011 at 3:32 PM, Gary Dunn &lt;<a href="mailto:garydunnhi@gmail.com">garydunnhi@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Nice looking work. Clearly your spreadsheet morph can display data in<br>
&gt;&gt; tabular format, and import/export to csv file. Can a cell be<br>
&gt;&gt; programmed with the common math expressions? C:1 = A:1 * B:1, B:3 =<br>
&gt;&gt; A:3 + 12.  Except the left side of the expression is assumed to be the<br>
&gt;&gt; current cell.<br>
&gt;<br>
&gt; No, that&#39;s not supported. It shouldn&#39;t be difficult to add, though. I always<br>
&gt; liked that Skeleton allows you to write Smalltalk expressions inside cell<br>
&gt; functions, that&#39;s pretty cool.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; I tried working with it in Windows 7. Was able to load it and the<br>
&gt;&gt; utils package into Etoys 4.1.1 but how do I get it going? Can you<br>
&gt;&gt; suggest a simple 1-2-3 step process to get me to where I can poke<br>
&gt;&gt; around? (BTW, this is often a stopper for me, I sense it is effortless<br>
&gt;&gt; to experienced Squeakers.)<br>
&gt;<br>
&gt; You can start by looking at the Object Catalog, take out a &quot;Spreadsheet&quot; and<br>
&gt; use the halo to open its viewer. You&#39;ll find two interesting categories:<br>
&gt; &quot;data i/o&quot; to import/export from CSV files and &quot;spreadsheet&quot; to deal with<br>
&gt; the cells/rows/columns stuff.<br>
&gt; Or you can try evaluating the following snippet in a workspace:<br>
&gt; -------------------<br>
&gt; spreadsheet := ScrollableSpreadsheetMorph new openInHand.<br>
&gt; spreadsheet numberOfRows: 20.<br>
&gt; spreadsheet numberOfColumns: 10<br>
&gt; -------------------<br>
&gt; Look at the classes for more info. Basically, there are two morphs: a basic<br>
&gt; spreadsheet and a scrollable spreadsheet that wraps it with a scroll bar.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; I also tried loading it into a Squeak 4.2 image, but my feeble<br>
&gt;&gt; attempts to get it going were all met with MNUs. Have you tried on<br>
&gt;&gt; Squeak?<br>
&gt;<br>
&gt; I suggest you to use the version I&#39;m attaching. I did a quick test and most<br>
&gt; of it seems to be working in Squeak 4.2. This version doesn&#39;t need any of<br>
&gt; the GSoC packages, but it needs CSV installed:<br>
&gt; (Installer squeaksource project: &#39;CSV&#39;) install: &#39;CSV&#39;.<br>
&gt; Feel free to ask me if you have more questions.<br>
&gt; Cheers,<br>
&gt; Richo<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Oct 7, 2011 at 10:17 PM, Ricardo Moran &lt;<a href="mailto:richi.moran@gmail.com">richi.moran@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Hi, I made a *very* simple spreadsheet morph for GSoC last year. It&#39;s<br>
&gt;&gt; &gt; not<br>
&gt;&gt; &gt; nearly as advanced as skeleton but if you&#39;re interested you can find it<br>
&gt;&gt; &gt; here: <a href="http://www.squeaksource.com/GSoCSqueakland/" target="_blank">http://www.squeaksource.com/GSoCSqueakland/</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Cheers,<br>
&gt;&gt; &gt; Richo<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Oct 7, 2011 8:12 PM, &quot;Gary Dunn&quot; &lt;<a href="mailto:garydunnhi@gmail.com">garydunnhi@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Anybody have a spreadsheet morph? Not to compete with Excel, more like<br>
&gt;&gt; &gt;&gt; original Visicalc.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Gary Dunn<br>
&gt;&gt; &gt;&gt; Open Slate Project<br>
&gt;&gt; &gt;&gt; <a href="http://openslate.org" target="_blank">http://openslate.org</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Gary Dunn<br>
&gt;&gt; Honolulu<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>