Sorry my "Microsoft" Outlook express address book gone mad. Appears to be sending mail to the wrong addresses. :-) Once again sorry for the mail. ... From: Al...
Al Choudhury
Al.Choudhury@...
Feb 1, 2002 9:56 am
466
Can anyone explain why the SubMenu appears raised in this code and you can't click the SubMenu items? {curl 1.7 applet} {applet license = "development"} {let...
There's an even simpler way of looping through the elements of any container (including arrays or HashTables): {for <item> in <container> do...} or in this...
FWIW, you can loop even more concisely (applying the "less lines of code is better" principle) {for x in ma-array do {mb.add x} } or, if you also need the...
Doug McCrae
dmccrae@...
Feb 1, 2002 10:54 pm
470
I have been turning my ImageDicer example (previously posted on CurlExamples.com) into a functioning interactive tool with some success. The applet has a...
Yep... {self.request-draw-rect {self.layout.get-bounds}} This should work. I was having the same problem with something else. I think there might be some dirty...
David Asbell
dasbell@...
Feb 5, 2002 3:07 am
472
... Worked! I could have sworn the API docs said that something like this would happen by default when you called request-draw, but obviously that is not so. ...
You bet. ... __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com...
David Asbell
dasbell@...
Feb 5, 2002 3:27 am
474
Hi all, I was really exited about "BetterPanedWindows", but I'm lost using the class with a constructor like 'orientation.horizontal'. By creating a new class...
helm.volker@...
Feb 5, 2002 5:06 pm
475
... The class is designed so that you can pass in the orientation as an argument for the default constructor. Did you try something like the following? {let...
Hey all, Let's say I have a String "\usomething" as, literally, a String, but want it represented as the unicode character it is trying to represent. Any...
Well, I assumed this would work... {renderer2d.render-string 50pt, 50pt, "Test123... \u1f67", fill-pattern = {FillPattern {Palette.get-silver}}} But that makes...
David Asbell
dasbell@...
Feb 5, 2002 6:08 pm
478
Maybe I was being thick... Is this the answer you were looking for? {let c:char = '\u1234'} or are you looking to print it out? The above works, but doens't...
David Asbell
dasbell@...
Feb 5, 2002 6:12 pm
479
... Curl cannot render characters that are not in the font you are using. Try setting the font to "Arial Unicode MS". - Christopher...
Christopher Barber
cbarber@...
Feb 5, 2002 6:22 pm
480
So, here's some of the code: {let s:String = "\u221f"} {let out:TextOutputStream = {write-open "out.html"}} {out.write-one s asa char} {out.close} but the...
Does this not work properly? {let s:String = "\u221f"} {let out:TextOutputStream = {write-open "out.html"}} {out.write-one s} || No asa char {out.close} If...
David Asbell
dasbell@...
Feb 5, 2002 6:30 pm
484
Hey all, What is the difference between the logical bit operators and the arithmetic ones? i.e. bit-sll vs. bit-sla Thanks! ...
David Asbell
dasbell@...
Feb 5, 2002 8:10 pm
485
There is no bit-sla function. For right shift, the logical shifts all the bits, the arithmetic preserve the sign (the high bit). {bit-srl 0x80000000, 1} ==...
Aaron Orenstein
aorenste@...
Feb 5, 2002 8:14 pm
486
Ok so that means that {bit-sra ...} is similar to << in Java Thanks. ... __________________________________________________ Do You Yahoo!? Send FREE Valentine...
David Asbell
dasbell@...
Feb 5, 2002 8:24 pm
487
That makes sense... bit-sla wouldn't be any different than bit-sll since it is essentially a multiplication of a multiple of 2, always greater than zero right?...
David Asbell
dasbell@...
Feb 5, 2002 8:29 pm
488
... No. Here is the correspondence table: Curl Java ... bit-sra >> bit-srl >>> bit-sll << - Christopher...
Christopher Barber
cbarber@...
Feb 5, 2002 8:33 pm
489
Yeah, that is what I meant and what I have been doing. I went too fast typing because I was so excited that I had done it right ;-) Thanks for the help...
David Asbell
dasbell@...
Feb 5, 2002 8:41 pm
490
Hey all, Anyone know why the elaborate call on the below code is failing? {curl 1.7 applet} {applet license = "personal"} {let code:String = |CODE"|15"{...
Well, the |15" string is the wrong length. When you use a number as a tag for a verbatim string or comment it refers to the number of characters in the...
Christopher Barber
cbarber@...
Feb 7, 2002 7:01 pm
492
A ha! I'm writing a dguide parser and it is auto-spitting out our examples in html, but it was converting our dguide examples to HTML - so the backslash and ...
A very simple trick to show a message while loading an applet is to have a text line or similar things right at the top of the applet. Add a document-style...