Hi Jamie,

   > Is there a way to make a dynamic decision about
   > which popup menu to pop when right clicking the mouse?

Set the menu's AutoPopup property to False.

In the control's MouseDown event, if Button=mbRight test
the given X, Y position of the mouse and call the Popup
method for the required menu.

Martin.



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> 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/
 


Reply via email to