Abdul:
I wanted to show a popUp menu when the user right-clicks on a cell in the grid. The menu could be an extended 'ContextMenu', however on slecting the extended menuItem, my program would need to access the content of the cell that was clicked on...is there any sample code that will guide me ? Thanks - Sanjay --- In [email protected], Abdul Qabiz <[EMAIL PROTECTED]> wrote: > Hi, > > Do you mean, you want to detect right-click? > > You can detect it using ContextMenu object, but when user right clicks, > Flash Player Context menu would appear which can not be removed or hidden. > ContextMenu API allows you to added context menu items(commands) Flash > Player Context menu. Does it solve your purpose? > > But again, ContextMenu only works at top-level object, it won't work for > nested objects. But you can still detect by doing some math of detecting if > mouse is over a datagrid cell and user clicked right mouse button... > > > -abdul > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 21, 2005 2:29 AM > To: [email protected] > Subject: [flexcoders] how to intercept 'right-click' on dataGrid cells ? > > > > Hello. > > how to intercept 'right-click' on dataGrid cells ? > > Thanks. Sanjay > > > > > > > > Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

