data grid - contextual menu

Trevor DeVore lists at mangomultimedia.com
Mon May 4 07:45:59 EDT 2009


On May 2, 2009, at 7:34 PM, Shao Sean wrote:

> [apologize in advanced if this is a double post]
>
> This seems to work and unless Trevor chimes in and says not to do it  
> this way, it seems to work just fine
>
> on mouseDown pButton
>  if (pButton = 3) then     -- right click
>    dgMouseDown pButton
>    # do context menu stuff
>  else
>    pass mouseDown
>  end if
> end mouseDown

Yes, this is how you would display a contextual. I haven't added this  
to the docs yet but I did cover this and some other even related  
information in the webinar the other day.

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com




More information about the use-livecode mailing list