On Apr 6, 2006, at 8:34 PM, FreeFL wrote:
| 6/04/06 ~ 20:04 -0400 :
| Charles Yeomans,
| " Re: Cell as Popup Menu? "
Is it possible to place a popup menu into a ListBox cell?
No.
Yes.
Drop a contextualmenu into your window. Set it up from its open
event or elsewhere in your code.
In Listbox.MouseDown event code, you first calculate which cell is
hit (from x,y, and listbox dimensions), then you check if you hit
the right cell (plus maybe a checking for isCMMenu) , and just call
Contextualmenu.open
This works fine, and I have menus popping from canvases, from
listbox cells, from any rectcontrol as well, even an invisible one...
This is not quite the same thing...
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>