Hi. I have such a question. I want to create a context menu for my grid. 
I read some pages from the mailing list about it and I found that I 
should use fillContextMenu. So I have a piece of code:

mn = dabo.ui.dMenu()
mn.append(caption="Test")
grd = self.cltable
grd.fillContextMenu(mn)


That's all right, no errors, but when I click the right button of the 
mouse, nothing happens. I tried to replace the last line with:

grd.bindEvent(dabo.dEvents.GridMouseRightClick, grd.fillContextMenu(mn))


but when I am launching the program and I right-click, I can see in the 
console (I'm launching the app from the console) a message which says:

TypeError: 'dMenu' object is not callable


Can you help me? Thanks a lot.

-- 
Regards
Stanislav Colotinschi

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to