Hi,gurus.

I make a silly misunderstood.Sorry all.

I thought 'isa' returned true
because I saw the error that say
"there is not 'get-position' in Dialog" on the browser
and thought the path executed.


> Hi gurus,
> I am very confused about Dialog and View.
> 
> I wrote a sample code like bellow.
> --------------------------------------------------------
> {value
>       let dlg:Dialog = {Dialog}
>       let box:VBox = {VBox "hello."}
>       {dlg.add box}
>       
>       {if (dlg isa View) == true then
>               {dlg.get-position}
>       }
> }
> 
> ----------------------------------------------------------
> 
> I've read online help(Curl 3.0.4) about the operator 'isa'.
> it says 'isa' returns true when its left operand is a instance
> of the same type or subtype of the right operand.
> 
> If so, why this code cannot run. get-position is the View's
> method, as you know.
> 
> Please tell me what I misunderstand.
> 
> Regards.
> 


-- 
-----
前川 享仁/Maekawa Takanobu
e-mail:[EMAIL PROTECTED]
CANSOFT,INC.Tel:044(969)9747 Fax:044(969)9748
http://www.cansoft.co.jp/

*******************************************
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 recieve a list of other options for this list, send a mail to:
mailto:[EMAIL PROTECTED]

Reply via email to