Convention for context menu - telerik

I was wondering if it's possible to write a convention that permits me to perform operations at context menu opening when the context menu is placed inside a radgrid
As I ve seen it's not possible to bind an event to a function...but maybe I'm wrong
Thansk

RadGridView from Telerik? works just fine with context menus. How are you trying to do it?

Hello the main problem I ve is that when I choose selection unit=cells I don't have the selecteditem selected... I wish that with right click it automatically updates my selected item puttin in the convention the contextmenu.getclickeditem()... Do you know if it's possible?
Thanks

Related

Replace custom menu with Oracle Forms 11g default menu

In my main form window, I have the following menu bar which is used for traversing. Its inherited from .mmb file.
Now, when I select any form on the menu, lets suppose I selected the highlighted "Purchase Order", then I don't want the same menu to be shown. I want the Oracle Form 11g's default menu to be shown instead, picture added below for reference.
I changed form's property of Inherit menu to No and the menu from image 1 isn't shown in "Purchase Order" but I still am not getting the default&smartbar menu.
How can I achieve that?
Thank you.
So I figured out a way how to disable .mmx menu and enable DEFAULT&SMARTBAR menu when I go to another form through the menu.
From the first screenshot above, the on-click-trigger had the following code
call_form(:global.path||'pc');
I replaced it with
call_form(:global.path||'pc',hide,do_replace);
So the addition of
,hide,do_replace
worked.
Side note: Also, make sure Inherit Menu property of Window property is "YES" and Menu Module of form property is set to "DEFAULT&SMARTBAR"
I think in the properties window from the form you got the property "menu module"
If you make a new form it gets the default: DEFAULT&SMARTBAR
So I think it is now filled with your mmb filename.

How to programmatically show custom context menu onkeyup event in ckeditor 4.1.1 standard

I want to create and show custom context menu in ckeditor. (all context menu items will be custom not default like: cut, copy, paste, etc.).
Context menu show when onkeyup event occur, how its possible?
Thanks in advance.
I think you can use because you need focus :
config.startupFocus = true;
And
CKEDITOR.instances.yourEditorInstance.focus();
Documentation : http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-startupFocus

JQGrid row action menu

Is there a way in JQ-Grid to display an icon for each row which will open a drop down menu with a list of actions/links?
Thanks
There are no standard implementation of the behavior. You can implement what you need with respect of the custom formatter.
You can try to use formatter:'actions' as alternative way. In the answer I shows how to extend standard actions buttons with custom buttons. In another answer (see the demo) I shows one more way how to implement very close behavior as formatter:'actions' do but with respect on another events.

How to make a check-box in a dynamic MFC dialog?

I have to create a dynamic dialog and used therefor the procedure described in the article Creating a Template in Memory. I already created buttons and edits but I don't know how I can make check-box. Do you know how?
In the DLGITEMTEMPLATE article there are only following types defined:
0x0080 Button
0x0081 Edit
0x0082 Static
0x0083 List box
0x0084 Scroll bar
0x0085 Combo box
Thanks!
A checkbox is a Button with the BS_CHECKBOX or BS_AUTOCHECKBOX style
for more information, see http://msdn.microsoft.com/en-us/library/bb775951(VS.85).aspx
A checkbox is a button with the BS_CHECKBOX style.

How to call an event when the user "finally" selects an item in a list?

When a user clicks once on an item in a Grid or a ListBox, that item is usually selected, hence most UI frameworks have a onSelected event or the like for that.
However, how can we generally call the next step when a user "finally" selects an item by e.g. double clicking an entry? You know when some popup might appear in the context of the selected item and the user can do further stuff.
Strangely enough, I think I have never seen a word for that in any UI framework.
onPicked, onAccepted, onChosen, onFinallySelected, onResult? All kinda awkward or too special. Any other ideas?
I haven't found anything wrong with SelectionChangeCommitted
The wxWidgets framework uses the term activated to describe what you're talking about. So, the method could be called onActivated.

Resources