Shishir Ramam | 1 Jan 2008 22:27
Picon

User program trigered Event generation. Is it possible?

I'd like to create an child node on a doubleclick on the canvas.
This seems straightforward enough. However, I'd also like to
set the focus on the element just created.

It's not obvious to me that this is even possible.

Appreciate any help/pointers.

Not sure my environment has anything to be with the eventual answer,
but I'm using 4.0.7 SDK on windows + firefox.

-shishir

 

Shishir Ramam | 2 Jan 2008 00:06
Picon

Re: User program trigered Event generation. Is it possible?

Found it --

    <handler name="oninit">
      this.onfocus.sendEvent()
    </handler>


On Jan 1, 2008 1:27 PM, Shishir Ramam < sramam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I'd like to create an child node on a doubleclick on the canvas.
This seems straightforward enough. However, I'd also like to
set the focus on the element just created.

It's not obvious to me that this is even possible.

Appreciate any help/pointers.

Not sure my environment has anything to be with the eventual answer,
but I'm using 4.0.7 SDK on windows + firefox.

-shishir

 



--
"One thing I feel most passionately about: love of invention will never die."
-Karl Benz

Gmane