I want to add onclick event to my panel . I dont want to show default description/play menu. I added this code to panel container but nothing has been changed.
<onclick lang="python"><![CDATA[
import urllib
list = mc.GetActiveWindow().GetList(3001)
item = list.GetItem(list.GetFocusedItem())
item.Dump()
mc.GetPlayer().Play(item)
]]></onclick>
My Panel has id=3001.
Default menu:
![]()


Reply With Quote
Bookmarks