Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Mouse right-clicks  (Read 6265 times)
Snorri B.
Posts: 103


« on: May 11, 2011, 04:29:40 pm »

Hi.

Back in 2004 there was some discussion about having more control over the context menu that pops up on mouse right click. I even have an feature request number:  #GDC0107. Even ON ACTION right-click was discussed at some point.

Any news on this?

Best regards,
-Snorri
Leo S.
Four Js
Posts: 126


« Reply #1 on: May 11, 2011, 04:56:32 pm »

Hi Snorri, there are 2 possibilities  to influence the context menu
1.via action defaults (added around 2008):
(from the docs)
contextMenu = string    Indicates whether the front-end must render the action in the default context menu.
Values can be:
- "no" the context menu option is never visible.
- "yes" the context menu option is always visible, if the action is visible (setActionHidden).
- "auto" the context menu option is visible if no other action view is explicitly defined and the action is visible (setActionHidden).
The default is "yes".
If you look in the standard deployed $FGLDIR/lib/default.4ad you will see that the most built-in actions do not get a context menu entry anymore.
This is unfortunately only effective if this factory default.4ad is merged into your existing default.4ad

2. via ON ACTION <foo> INFIELD <bar> (also added around 2008)
 which affects the display of available actions in the action panel and context menu.
Please consult the docs to get further information in case you were not aware about that.

If the above does not match your expectation or is not something new to you please let us know.

Kind Regards, Leo
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines