Context/Custom menu on text select Ionic 2/3 - ionic2

When I long press on the text in my webview/app, I am getting context menu with following items "select", "select all", "web search". See attached pic
How can I set my custom ones?

Related

Oracle APEX: how to modify the display text in the displayed column selector in an interactive report instead of HTML

Whan I created a column in an interactive report that display a checkbox.
The header of that column is also a HTML code
But when I go in the "interative report "Action" menu and choose the column I what to display, the escaped HTML code is displayed.
There's a way to display another string instead of the HTML code ?

Expand or collapse navigation pane in Power BI Report

I have implemented the navigation pane feature in Power BI report as shown below. I like to expand or collapse this navigation pane to utilize page for visuals.
Is there any visuals/tricks to do this?
You can save your report/page layout as a bookmark (Menue Bar > View > Bookmarks Pane) with the navigation pane visible (NavigationVisibleBookmark).
You can trigger visuals visible/invisible with the eye symbol in the selection pane (Menue Bar > Views > Selection Pane`).
Then save another bookmark with the navigation pane invisible (NavigationInvisibleBookmark).
Now you can trigger the two different bookmarks with a button for example. Add a blank button and go to the Properties > Action and choose Type = Bookmark and Bookmark = NavigationVisibleBookmark.

Lotus Notes: Dialog list - refresh fields on keyword change not working

I have a dialog list which use Use View dialog for Choices.
I have a row in a table which its appearing depends on the value selected from that dialog list. ( I am using Hide when formula... ) The form has Automatically refresh fields checked.
The problem is that after I select a certain value from the dialog list, and I even had selected Refresh fields on keyword change property, I MUST hit F5 or just TAB ( to go to a next field ) in order to make that row table to appear. I also tried to add uidoc.Refresh at the Exiting/OnChange event(s) of the dialog list.
I have noticed the following:
the refresh works fine for combo box, list box, radio button or check box
the refresh works fine for dialog list where you are using a list of choices / formula.
the refresh doesn't work for dialog list where you are using view dialog for choices ( my case ).
Is there any solution for this issue? I want when I selected a value from the dialog list, immediately the row / line should appear/disappear.
Thank for your time!

Finder column view modify width of active column

Is there a way in any language written for OSX (Applescript, C++, etc.) where
I can access the function (adjust column width) in the context menu, when you right
click on the two lines at the bottom of the Scrollbar in Finders Column
View (AXMenu->AXMenuItem)?
Same happens if you double click on the two lines.
Because what I want to do is somehow get a shortcut on this function for "super-fast-
finder-workflows".
From the Finder Applescript Library:
column view options: the column view options
properties
text size (integer) : the size of the text displayed in the column view
shows icon (boolean) : displays an icon next to the label in column view
shows icon preview (boolean) : displays a preview of the item in column view
shows preview column (boolean) : displays the preview column in column view
discloses preview pane (boolean) : discloses the preview pane of the preview column in column view
It doesn't look like Applescript contains a way to access the settings you are looking for

Adding a drop-down menu button to a CMFCToolbar

I'm trying to add a menu to a CMFCToolbar. Following advice I found online, I'm doing it like this:
CMenu m_Menu;
m_Menu.LoadMenu(IDR_MYMENU);
m_Toolbar.ReplaceButton ( ID_DOTHISWHENCLICKED,
CMFCToolBarMenuButton( ID_DOTHISWHENCLICKED,
m_Menu,
10,
nullptr,
FALSE));
So the above gives me a button with a drop-down arrow. When I click the button, it does the action ID_DOTHISWHENCLICKED. When I click the drop-down arrow, I get a menu with one item in it. The item is the title of IDR_MYMENU and this has a sub-menu that is the menu I would like to be displayed. Something like this:
[BUTTON]
My Menu
Submenu Item 1
Submenu Item 2
Submenu Item 3
Obviously what I want to see is:
[BUTTON]
Submenu Item 1
Submenu Item 2
Submenu Item 3
So my question is.... why aren't all of the menu items in IDR_MYMENU in the menu, instead of being in a sub-menu off of it?
Thanks.
This problem is fixed simply by passing in .GetSubMenu(0)->GetSafeHmenu(), instead of the CMenu in question, when creating the menu button. Why this should be so is a complete mystery to me, and one of those MFC'isms that you know if you know.
Not sure whether to delete this question or tick it solved in case anyone else ever has this issue.