Oz and Mozart Users Mailing List

TkCmd help needed


From: Remoun Mikhaeil (r_mikhaeel@hotmail.com)
Date: Tue Feb 26 2002 - 12:33:58 CET


hi,
I have some problems dealing with TkCmd.
E.g. I tried to use TkCmd
    pathName coords tagOrId ?x0 y0 ...?
(which is located at http://www.mozart-oz.org/documentation/tcltk/TkCmd/canvas.htm#M40)
by feeding the following trail code:

declare
W={New Tk.toplevel tkInit()}
C={New Tk.canvas tkInit(parent:W)}
Tag={New Tk.canvasTag tkInit(parent:C)}
{C tk(create oval 20 20 30 30 tag:Tag)}
{Tk.send pack(C)}
{Browse {C tk(coords Tag $)}}

I expected it to display the current coordinations of the item identified by Tag. But nothing has happened...
Why????

Thanx
Remoun Mikhaeil

-
Please send submissions to users@mozart-oz.org
and administriva mail to users-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.