Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

contextMenu Property

Developers.QuiXcontextMenu History

Hide minor edits - Show changes to output

August 28, 2006, at 08:54 PM by Tassos Koutsovassilis -
Changed line 21 from:
||!`JavaScript||oMenu = new `ContextMenu(params, parentW);[[<<]]parentW.'''contextMenu''' = oMenu;[[<<]]parentW.attachEvent('oncontextmenu', Widget__contextmenu);||
to:
||!`JavaScript||oMenu = new `ContextMenu({}, parentW);[[<<]]parentW.'''contextMenu''' = oMenu;[[<<]]parentW.attachEvent('oncontextmenu', Widget__contextmenu);||
August 28, 2006, at 08:38 PM by Tassos Koutsovassilis -
Changed lines 3-6 from:
This is a handler to the [[(Developers.QuiX)ContextMenu]] assigned to the widget, if any, otherwise it contains ''null''.

But there are certain cases when this attribute is not null even though the widget has no context menu explicitly set. This is true for the menus of menu bar, the [[(Developers.QuiX)FlatButton]] of type "menu" and the [[(Developers.QuiX)File]] upload controls. All of the above controls display a drop down menu when clicked. The handler of this menu is kept in the '''contextMenu''' property.
to:
This attribute contains the [[(Developers.QuiX)ContextMenu]] assigned to the widget displayed when the user right-clicks on the widget, otherwise it contains ''null''.

There are certain cases when this attribute is not ''null'' even though the widget has no context menu explicitly set. This is true for the menus contained inside a menu bar, the [[(Developers.QuiX)FlatButton]] of type "menu" and the [[(Developers.QuiX)File]] upload controls. All of the above controls display a drop down menu when clicked. The handler of this menu is kept in the '''contextMenu''' property.
August 28, 2006, at 08:32 PM by Tassos Koutsovassilis -
Changed lines 5-6 from:
But there are certain cases when this attribute is not null even though the widget has no context menu explicitly set. This is true for the menus of menu bar, the [[(Developers.QuiX)FlatButton]] of type "menu" and the [[(Developers.QuiX)File]] controls. All of the above controls display a drop down menu when clicked. The handler of this menu is kept in the '''contextMenu''' property.
to:
But there are certain cases when this attribute is not null even though the widget has no context menu explicitly set. This is true for the menus of menu bar, the [[(Developers.QuiX)FlatButton]] of type "menu" and the [[(Developers.QuiX)File]] upload controls. All of the above controls display a drop down menu when clicked. The handler of this menu is kept in the '''contextMenu''' property.
July 29, 2006, at 08:38 PM by Tassos Koutsovassilis -
Changed lines 3-5 from:
This is a handler to the [[(Developers.QuiX)ContextMenu]] assigned to the widget, if any.
There are certain cases, when this attribute is not null even though the widget has no context menu explicitly set. This is true for the menus of menu bar, the [[(Developers.QuiX)FlatButton]] of type "menu", the [[(Developers.QuiX)File]] and [[(Developers.QuiX)MutliFile]] controls.
to:
This is a handler to the [[(Developers.QuiX)ContextMenu]] assigned to the widget, if any, otherwise it contains ''null''.

But there are certain cases when this attribute is not null even though the widget has no context menu explicitly set. This is true for the menus of menu bar, the [[(Developers.QuiX)FlatButton]] of type "menu" and the [[(Developers.QuiX)File]] controls. All of the above controls display a drop down menu when clicked. The handler of this menu is kept in the '''contextMenu''' property.
July 29, 2006, at 08:34 PM by Tassos Koutsovassilis -
Changed lines 4-5 from:
to:
There are certain cases, when this attribute is not null even though the widget has no context menu explicitly set. This is true for the menus of menu bar, the [[(Developers.QuiX)FlatButton]] of type "menu", the [[(Developers.QuiX)File]] and [[(Developers.QuiX)MutliFile]] controls.
July 29, 2006, at 08:21 PM by Tassos Koutsovassilis -
Changed line 19 from:
||!`JavaScript||oMenu = new `ContextMenu(params, parentW);[[<<]]parentW.contextMenu = oMenu;[[<<]]parentW.attachEvent('oncontextmenu', Widget__contextmenu);||
to:
||!`JavaScript||oMenu = new `ContextMenu(params, parentW);[[<<]]parentW.'''contextMenu''' = oMenu;[[<<]]parentW.attachEvent('oncontextmenu', Widget__contextmenu);||
July 29, 2006, at 08:20 PM by Tassos Koutsovassilis -
Changed line 19 from:
||!`JavaScript||oMenu = new ContextMenu(params, parentW);[[<<]]parentW.contextMenu = oMenu;[[<<]]parentW.attachEvent('oncontextmenu', Widget__contextmenu);||
to:
||!`JavaScript||oMenu = new `ContextMenu(params, parentW);[[<<]]parentW.contextMenu = oMenu;[[<<]]parentW.attachEvent('oncontextmenu', Widget__contextmenu);||
July 29, 2006, at 08:19 PM by Tassos Koutsovassilis -
Added lines 1-19:
(:title contextMenu Property:)

This is a handler to the [[(Developers.QuiX)ContextMenu]] assigned to the widget, if any.

!!Syntax

||cellspacing=1 cellpadding=4 border=1 bgcolor=#ededed
||!`QuiX XML||[@
<qx:rect xmlns:qx="http://www.innoscript.org/quix">
<qx:contextmenu>
<qx:menuoption caption="Create" img="images/filenew.gif"/>
<qx:sep/>
<qx:menuoption img="images/cut.gif" caption="Cut" onclick="clipboard.cut"/>
<qx:menuoption img="images/copy.gif" caption="Copy" onclick="clipboard.Copy"/>
...
</qx:contextmenu>
</qx:rect>
@]||
||!`JavaScript||oMenu = new ContextMenu(params, parentW);[[<<]]parentW.contextMenu = oMenu;[[<<]]parentW.attachEvent('oncontextmenu', Widget__contextmenu);||
Page last modified on August 28, 2006, at 08:54 PM