On 2 Apr, 2007, at 6:46 PM, Dennis Birch wrote:

>
> That's pretty simple to do by working with the MenuItem class. Create
> a menu as MenuItem, then append menuitems to it. Use the
> MenuItem.Popup method to show the method, which returns a MenuItem.


Yes, sure, there are many way to fire a contextual menu. There are  
some cases where IsContextualClick returns false on some systems and  
the way the user opted for the contextual menu.

But as suggested by the Language Reference:

RectControl.ConstructContextualMenu:

"Fires whenever it is appropriate to display a
contextual menu for the control. This is the
recommended way to handle contextual menus
because this event figures out whether the user
has requested the contextual menu, regardless of
how he did it."

My point is that many new features, specially some controls, have  
bugs that will show up easily in the RB IDE if they are used as we  
are suppose to use them.

Regards,


Giuseppe Farese

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to