CommandButton question

2005-05-06 Thread Takanobu Maekawa
Hi gurus, (B (BHow to get string of label on CommandButton? (B (Bfor example, simply the bellow codes can't work... (B (B{let btn:CommandButton = {CommandButton label="hoge"}} (B{let s:String = {btn.label}} (B (BI know this will fail because "btn.label" returns Visual. (B (BSo I tried an

Re: Set and Get the window position with Desktop Window's coordinates

2005-05-26 Thread Takanobu Maekawa
og BBB shown. 5. pushed "Show AAA" button on dialog BBB, expecting new dialog AAA shown at the same place to the dialog which moved at step 2. 6. but I saw the new dialog AAA shown above dialog BBB. That was not what I want to do. If you know this reason or how to do what I want to do,

Re: the inner view class of Dialog

2005-06-18 Thread takanobu maekawa
g} let v2:VBox = {VBox "I am here."} {d2.add v2} let a:AAA = {AAA {d.get-view}} let b:BBB = {BBB d2} ||the both bellow lines cause NullDereferenceException {a.show} {b.show} } ---------- Regards. --Takanobu Maekawa *

how to know the filename, line number at the function called ?

2005-06-25 Thread Takanobu Maekawa
Hi gurus, I'm making a log function for debug. Like C/C++,I want to output the file name and line number at the place the log procedure called. I have ever done in C/C++ with __LINE__, __FILE__, __FUNC__ macros, as you know. Are there the same elements like this in Curl ? Regards. --Tak

[Help!] import-package trouble

2005-06-25 Thread Takanobu Maekawa
bout details of import-package, and hopefully make-package-selector too. Regards. --Takanobu Maekawa *** To unsubscribe from this list, send a mail to: mailto:[EMAIL PROTECTED] To contact a human list administrator, send a mail to: mailto:[EMAIL PROTECTED] To recie

Re: Get the biggest font size within a rectangle area

2005-07-26 Thread takanobu maekawa
Hi gurus, I have found DisplayContext class and wonder I can somehow do this with it... :-D thanks. --Takanobu Maekawa At 18:29 05/07/25 +0900 Hi gurus, Now I cannot find the way to get the biggest font size of a character within a rectangle area. For example, when the rectangle's

WindowClose event problem with Dialog class

2005-10-12 Thread Takanobu Maekawa
Hi. I cannot handle and consume WindowClose event with Dialog, using the bellow code. When a dialog shows, I expect that I cannot close the dialog window when I push the close button. Please tell me where is wrong. {curl 3

Re: WindowClose event problem with Dialog class

2005-10-16 Thread Takanobu Maekawa
Thanks Freidger and Duke. Now I have understood that I had look at the Curl ver.4's IDE online help and tested with Curl ver.3 applet :-) Regards. --Maekawa - Takanobu Maekawa e-mail:[EMAIL PROTECTED] CANSOFT,INC.Tel:044(969)9747 Fax:044(969)9748 http://www.cansoft.

How to avoid ctrl-F (or ctrl-XXX)

2005-12-06 Thread Takanobu Maekawa
Hi gurus, How can View,Dialog or any controls deny ctrl-F or ctrl-XXX (ex. ctrl-A, ctrl-c)? I use Curl4 and made a detached applet, then pless the avobe key combination. Especially, search dialog shown was very surprizing with pressing ctrl-F when I placeed the mouse pointer anywhere on the View

MenuManager and MenuItem.get-prev

2005-12-08 Thread Takanobu Maekawa
Hi gurus. I have a problem with a highly customized componet utilizing MenuBar and SubMenus. Now I know there is a serious bug that exception which says "it cannot to be empty in MenuItem" occurs whenever pressing any arrow kews (left,right,up or down arrow key) while placing mouse on the menu it

Too big size Drawable??

2006-01-21 Thread Takanobu Maekawa
Hi gurus, I have tried to open meny windows as possible in my applet (the applet has over 40 windows...), then a error occurs. It says: SurfaceTooLargeException: Drawable 表面 (1008 x 708) はサイズが大きすぎ るため作成されませんでした。 #0 SurfaceTooLargeException.throw (0x0b4d5f85+33) #1 GdiInternalDrawable.create

ALT-TAB causes exception??

2006-02-02 Thread Takanobu Maekawa
-runnable (0x0190bd86+18) #28 curl-thread-really-call-run-in-runnable (0x01907cd9+233) As usual, I cannot understand what the stacktrace means Please tell me what it says, and when this exception occurs generally. My environment:Curl4 Japanese, Windows2000/XP. Regards. --Takanobu Maekawa

about the architecture of applets and curl runtime

2006-06-17 Thread Takanobu Maekawa
Hi all. To tell the truth, I have not really understood the architecture of the thread model that Curl runtime controls applets within itself. I have thoutht that once applets are loaded to the runtime the runtime makes additional threads for new applets, then controls them. Is that right? If s

about Input Method

2006-06-24 Thread Takanobu Maekawa
Hi all, thanks you for all advices. Recently I've been trying to migrate some tools , which doesn't always need to install into local PC, to Curl platform. So, at first, for experiment, now I'm trying to make a terminal emulater which will be combined with telnet and ssh protocol. As you see the

How to make an applet that looks like a widget application?

2006-06-26 Thread Takanobu Maekawa
Hi all, today I saw something named Opera widget. http://my.opera.com/community/dev/widgets/first/ you can see two example widgets which are a round clock and "hello world". Honestly I was moved. I don't know how to explain so called widget's characteristics exactly but it seems to be able to ha

Re: about Input Method

2006-06-26 Thread Takanobu Maekawa
Yamada-san, thank you for your easy and consise advice and sample. I can get what you told and my test applet goes well now. regards. --maeakwa > Hi Maekawa-san, > > Though my Curl environment is version 3 (not version 4), basic > strategy to use IME (input method) might be same. > > First of

Re: How to make an applet that looks like a widget application?

2006-06-26 Thread Takanobu Maekawa
Hi all. > I don't know how to explain so called widget's characteristics exactly > but it seems to be able to have very freely drawn shape like skin mode > of Windows Media Player. Later I've noticed that I was too upset and maybe using graphical objects which uses transparent background color wi

Re: How to make an applet that looks like a widget application?

2006-06-27 Thread Takanobu Maekawa
Hi all. > Later I've noticed that I was too upset and maybe using graphical > objects which uses transparent background color will solve my question. > :-) When I tried with the bellow detached applet the View could not become transparent. -

how to get 's parameter?

2006-07-05 Thread Takanobu Maekawa
Hi all. As I said before, I'm making a terminal emulater with Curl just for interest. Now I want to the frame which displays terminal console embeded in html. I used tag and added some parameters such like encoding, the url of the server connected from the terminal and so on... But I noticed tha

Can't communicate between applets through socket

2006-07-11 Thread Takanobu Maekawa
Hi all. I want to send xml data from a parent applet to a child applet through socket communication. So, for experiment, I made 2 applets as bellow. But they don't work at all... As you see, send-to-local-app.dcurl tries to connect the port 6001 on localhost. But CouldntConnectSocketException w

Re: Can't communicate between applets through socket

2006-07-11 Thread Takanobu Maekawa
Thanks Bardwell. I'm getting to understand but have a few more questions. > The main problem is that the sub-applet is not able to finish starting > because the main applet hasn't gone into the event loop. If you > put the socket connecting code into an {after 5s do} instead of using > {sleep 5s}

surge-do.exe problem?

2006-10-18 Thread Takanobu Maekawa
Hi gurus. Today I noticed that "surge-do.exe" processes don't decrease although all applets has been exited.(even serge.exe has been exited.) I made sure that all applets has been finished by checking the applet manager of Curl control panel. For example, please try to run the bellow applet agai

Re: surge-do.exe problem?

2006-10-18 Thread Takanobu Maekawa
Thanks Jamse. > I have tried as what you said but I did not find any process named > "surge-do.exe" in the windows task manager but "surge-lab.exe". Hm... I tried to run the sample applet which I showed at the previous mail again, then three processes which are surge.exe,surge-do.exe, and surge-l

Re: surge-do.exe problem?

2006-10-19 Thread Takanobu Maekawa
Thanks all. I'm sorry, I have forgotten to tell you that I run a detached applet. The sample applet which I showed was a detached applet. it is simply genereted by IDE. So you can also make the same one to make a new detached applet project on IDE. I only used it, then saw this strange situatio

Re: surge-do.exe problem?

2006-10-19 Thread Takanobu Maekawa
Thanks all. > So you can also make the same one to make a new detached > applet project on IDE. Opps... I wanted to write "you can also make the same one by making a new detached applet project on IDE".