<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 5, 2007, at 3:47 PM, Ralf Stoye wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><br><div><div>Am 06.11.2007 um 00:02 schrieb Ron Garret:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">I can't get this demo to work.<span class="Apple-converted-space"> </span>There are some single/double float errors, and after I fix those I get a blank window that displays some really weird behavior (including refusing to close) but no other errors so I am at a loss on how to proceed.</font></div> </blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "></span></span></div>i am sorry to hear that, as i said "wrote it a long time ago", just tested it with <font class="Apple-style-span" face="Lucida Grande">Clozure CL 0.1 (19.10.07) and it didn't work: strange things from instantly hangs to window appeared some time later (once in 5 tests).</font><div><div><font class="Apple-style-span" face="Lucida Grande">Tested it with </font>the version of openmcl i have installed without problems.</div><div>(LISP-IMPLEMENTATION-VERSION) -> "Version 1.1-r7313 (DarwinPPC32)"<div><div><div>So i think the changes in <font class="Apple-style-span" face="Lucida Grande">Clozure CL are major ones. ( i suspect it's the way things are initialized, threading issues?). But maybe there are some aspects in this code showing how to setup things in cocoa: </font></div><div><font class="Apple-style-span" face="Lucida Grande">Tell a slider to inform a target: <font class="Apple-style-span" face="Helvetica">(send my-slider :set-target my-view)</font></font></div><div><font class="Apple-style-span" face="Lucida Grande">Tell the slider which function to call: <font class="Apple-style-span" face="Helvetica"> </font><font class="Apple-style-span" face="Helvetica">(send my-slider :set-action (@selector "doIt:"))</font></font></div><div>...</div><div>maybe one of the experts can tell me/us why the code daesn't run anymore on Clozure CL.</div><div>BUT: I don't want to occupy people with very limited time to spend this on this unimportant piece of code...</div><div><br></div></div></div></div></div></div></blockquote><br></div><div>Agreed, though there is one thing in there that would be very helpful to me if it worked, and that is an example of how to intercept events (I'm interested in keyboard events in particular but I'm pretty sure I could extrapolate from mouse events). I'm sure I can figure it out on my own but a working example would save me a lot of slogging.</div><div><br class="webkit-block-placeholder"></div><div>rg</div><div><br class="webkit-block-placeholder"></div></body></html>