I found I had to do the following:



<method event="oninit">

         var cm1 = new
LzContextMenu();

         cm1.clearItems();

        
this.setContextMenu(cm1);

</method>



I don't think it worked on canvas, but it did work on a view that took up
the entire canvas.





On Thu, March 15, 2007 12:00 pm, Jim Grandy wrote:

> Please do.

> 

> Thanks!

> 

> jim

> 

> On Mar 15, 2007, at 7:48 AM, mt1 wrote:

> 

>> Should i report it to jira ?

>>

>> mt1 wrote:

>>> Any advises?

>>>

>>> mt1 wrote:

>>>

>>>

>>>> In the case of hiding the context menu, the following
code dose

>>>> not work.

>>>>

>>>> <canvas>

>>>> <handler name="oninit">

>>>> var cm = new LzContextMenuItem();

>>>> cm.setEnabled( false );

>>>> </handler>

>>>> </canvas>

>>>>

>>>> Do i miss code?

>>>>

>>>> Thx

>>>> mt1

>>>>

>>>>

>>>>

>>>>

>>>>

>>>

>>>

>>>

>>

> 





-- 

Reply via email to