Custom menu for right-click on TextArea

Is it possible to have a custom menu when user right clicks
on text area.
Can the defauklt menu be overridden ??

Hello LRosenthal49, probably [http://kb.mozillazine.org/Corrupt_localstore.rdf Corrupt localstore.rdf] file.
thank you

Similar Messages

  • How do I change the pop up menu for right click to Tools?

    Hi,
    I generally know my way around Photoshop but for some reason this has me stumped.
    When I right click on the image I'm working in (using my Cintique pen button) I get the Brushes panel as a pop up.
    Very handy, but I hate Brushes- I much prefer Tools (even if most of my Tools are modified Brushes).
    How do I change this pop up so it shows the Tools?
    I've looked in both the PS prefs and the Cintique settings.
    Think I'm just not doing it right.
    Please help if you know how to make this change.
    Thanks,
    Tom B
    I'm in Mac OS 10.5.8 running PS CS3

    Thanks Trevor, been trying various options along those lines.
    @c.pfaffenbichler
    Yes, I'd like to raise the Tool Presets panel by Right Clicking using the Cintique pen.
    In just the same way as I currently do to access the Brushes panel.
    "Then what did you mean by »even if most of my Tools are modified Brushes«?"
    As above- "A Tool may be a Brush (or an Eraser, or a Cloner, etc) though not all Brushes, etc, are Tools."
    Just as one might say "all swans are birds, though not all birds are swans."

  • Menu on right-click for numeric control

    Hello,
    is there a way to program a "menu on right-click" for a control (e.g. numeric), like there is for table controls?
    I'm working with CVI 8.0.1 
    Thanks & Best Regards,
    Greg

    Yes, every control can be added a popup menu with a few instructions.
    Design the menu nar in the UIR editor; do not associate it to any panel
    Load the menu bar when needed with the line menuHandle = LoadMenuBar (0, "myfile.uir", menuBar): by passing 0 as the panel handle it will not be associated to any of them
    In the numeric callback add these instructions:
         switch (event) {
            case EVENT_RIGHT_CLICK:
                // Context menu
               choice = RunPopupMenu (menuHandle, menuBar_Menu, panel, eventData1, eventData2, 0, 0, 0, 0);
                switch (choice) {
                     case menuBar_menu_item1:
                              // menu item handling code
                              break;
                break;
    Passing eventData parameters to RunPopupMenu function ensures that the menu is displayed at the mouse position.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Pop up menu on right clicking an image?

    Hello,
    I am new to LabWindows/CVI. 
    Requirement: "To get a pop-up menu on right clicking on image"
    Right now, I display my images in window numbers (0 - 15). Is it possible to be able to get a pop-up menu on right clicking an image window. If yes, how? If not, could you please suggest other methods to achieve this task? Should I display the image in a separate parent panel for example? How could I do this?
    Any help would be great.
    Cheers

    I would use the code generator for right click event. then fill it up with whatever code you want under right click case. You can access these when you double click your UIR file, then on the top of the page click Code\Preferences\Default... then choose desired events for picture then go to Code\Generate\all callbacks and skip through the ones you don't want to be replaced.

  • Displaying a context menu on right click on rich tree

    Please see the code below. I want to display a context menu on right click on a rich tree.
    <ui:composition xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich">
        <style>
            .col1{ width:50%; vertical-align:top;
        </style>
        <h:form>   
            <h:panelGrid columns="1" width="100%" columnClasses="col1">
                 <rich:tree style="width:300px" nodeSelectListener="#{simpleTreeBean.processSelection}"
                    switchType="client"
                    value="#{simpleTreeBean.treeNode}" var="item" id="item">
                    <rich:componentControl event="onClick" for="menu" operation="show">
                    <f:param value="#{item.data}" name="send" />
                </rich:componentControl>
                </rich:tree>
                </h:panelGrid>
            <a4j:outputPanel ajaxRendered="true">
                <rich:panel>
                    <f:facet name="header">Last Menu Action</f:facet>
                    <h:outputText escape="false" value="Right Click :  #{simpleTreeBean.nodeTitle}" id="selectedNode" />
                    <br/>
                </rich:panel>      
            </a4j:outputPanel>
                 <rich:contextMenu event="oncontextmenu" actionListener="#{SimpleTreeBean.processCurrElement}" attached="true" id="menu" submitMode="ajax">
                <rich:menuItem ajaxSingle="true">
                <b> #{simpleTreeBean.nodeTitle}</b> Send To
                    <a4j:actionparam name="det" assignTo="#{ddmenu.current}" value=" #{simpleTreeBean.nodeTitle}"/>
                </rich:menuItem>
            </rich:contextMenu>
        </h:form>
    </ui:composition> With this code, i need left click at first then right click, then it will show the selected node. I want to get the value of the node title on right click. Please help me with it. The SimpleTreeBean code:
    package com.dW;
    import java.awt.event.ActionEvent;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Properties;
    import javax.faces.FacesException;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import org.richfaces.component.UITree;
    import org.richfaces.event.NodeSelectedEvent;
    import org.richfaces.model.TreeNode;
    import org.richfaces.model.TreeNodeImpl;
    public class SimpleTreeBean
        private TreeNode rootNode = null;
        private String nodeTitle;
        private static final String DATA_PATH = "images/simpleTreeData.properties";
        private void addNodes(String path, TreeNode node, Properties properties) {
            boolean end = false;
            int counter = 1;
            while (!end) {
                String key = path != null ? path + '.' + counter : String.valueOf(counter);
                String value = properties.getProperty(key);
                if (value != null) {
                    TreeNodeImpl nodeImpl = new TreeNodeImpl();
                    nodeImpl.setData(value);
                    node.addChild(new Integer(counter), nodeImpl);
                    addNodes(key, nodeImpl, properties);
                    counter++;
                } else {
                    end = true; } }  }
        private void loadTree() {
            FacesContext facesContext = FacesContext.getCurrentInstance();
            ExternalContext externalContext = facesContext.getExternalContext();
            InputStream dataStream = externalContext.getResourceAsStream(DATA_PATH);
            try {
                Properties properties = new Properties();
                properties.load(dataStream);
                rootNode = new TreeNodeImpl();
                addNodes(null, rootNode, properties);
            } catch (IOException e) {
                throw new FacesException(e.getMessage(), e);
            } finally {
                if (dataStream != null) {
                    try {
                        dataStream.close();
                    } catch (IOException e) {
                        externalContext.log(e.getMessage(), e);
        public TreeNode getTreeNode() {
            if (rootNode == null) {
                loadTree();
            return rootNode;
        public void processSelection(NodeSelectedEvent event) {
            UITree tree = (UITree) event.getComponent();
            nodeTitle = (String) tree.getRowData();
        public void processCurrElement(ActionEvent event) {
            UITree tree = (UITree)event.getSource();
            nodeTitle = (String)tree.getRowData();
            System.out.println(nodeTitle);
        public String getNodeTitle() {
            return nodeTitle;
        public void setNodeTitle(String nodeTitle) {
            this.nodeTitle = nodeTitle;
    }

    Hi,
    Do you have a solution for this? Looking for exactly the same.
    As far as I have it at the moment I have the backing object added to the attributes of the node:
    <a4j:support event="oncontextmenu"
                                         oncomplete="#{rich:component('foldersContextMenu')}.doShow(event, {})"
                                         actionListener="#{customerBean.buildContextMenu}" reRender="foldersContextMenu, selectedNode">
                                <f:setPropertyActionListener value="#{item}" target="#{customerBean.nodeTitle}"/>
                                <f:attribute name="node" value="#{item}"/>
                            </a4j:support>This allows me to get the object in the backing bean:
    public void buildContextMenu(ActionEvent event) {
            UIComponent component = event.getComponent();
            log.info("component: " + component.getId());
            Category node = (Category) component.getAttributes().get("node");
            log.debug("node : " + node);But how I translate that to setting this as the current node is causing me problems.
    Thanks
    Jon

  • Why can't I change search engines for right click?

    I used to be able to determine the search engine used for highlight/right click searching by selecting from the drop down menu in the search box. Whichever was the active search engine was the right click search engine. Firefox 34 only allows the default engine for right click. This is awful, it is one of the most important features to me in Firefox, depending on what I was searching for I often switched between various engines. Why the decision to reduce usability? I probably will go back to Opera if this function isn't re-instated.
    BTW, never in a million years will I use Yahoo. i made a habit of deleting it from my list of search engines, it always had a sort of National Enquirer feel about it. I also made a point of ignoring Yahoo Answers if they came up in a query. The amount of wrong information was stunning.

    The recent changes to the Search Bar are undoubtedly causing much consternation for some users. It was much easier to select a different search engine from the Search Bar with the old scheme
    Check out this add-on - https://addons.mozilla.org/en-US/firefox/addon/context-search/

  • Flex 2 14 - Two finger tap for Right-Click not working (Two finger double tap works)

    I bought my Flex 2 14 a couple of weeks back.
    I want to enable Two-finger tap (not click) for right click.. Unfortunately it does not work.
    Weirdly, Two-finger DOUBLE tap works for right click.. 
    How do I get a two-finger tap? 
    I tried the regitry hacks from here (https://forums.lenovo.com/t5/Yoga-Flex-Laptops-and/Yoga-2-Pro-Two-finger-tap-does-not-work/td-p/1406... but no luck yet. 
    Any help please. 

    I have found a solution but I am still annoyed I had to do my own tech work to get a common touch figure enabled. (By the way there's many threads out there on Synpatics drivers and touchpads not working right for many people on different machines.)
    Anyway, indeed the fastest fix is to modify a registry entry for Synaptics. Just open  the regisitry edit software on the Yoga and then go through the folders: HKEY LOCAL / Software / Synaptics / SynTP / Win8
    In "2FingerTapAction" all you need is to change the value from "0" to "2" - and presto two-finger tap is now a right click!
    Much easier than going through a driver install / uninstall routine or any other of the suggestions I've found out there.
    I wish Lenovo had this set up as a default. It's really a great gesture and it's quiet and fast.

  • Using mouse event for right click or scroll

    I would like someone to guide me that if there is any events which can be used for right click of the mouse or the scroll of the mouse(specially the scroll). Until now all the mouse event i have been using is based on the left mouse click, release......  So could anyone guide me how to use the right click and scroll of the mouse using actionscript.
    Thank you!

    You should try searching the forums using the key terms related to what you are after.  I don't think you'll find much help for the right click though... appears to not be supported by Flash.  Below is a link to one result for the mouse scroll from just the other day... you can probably find more if it does not help.
    http://forums.adobe.com/message/3511047#3511047

  • JSF Popup Menu on right click

    Hi ,
    I want to popup menu on right click of any component(say tree).I searched on the net and found the tomahawk <t:popup> component.
    This component popup the menu when mouse pointer enter in to the component but I don't want this behavior.
    I want to popup the menu only when I right click on the component.
    This is sample program
    <t:popup id="a"
    styleClass="popup"
    closePopupOnExitingElement="true"
    closePopupOnExitingPopup="true"
    displayAtDistanceX="10"
    displayAtDistanceY="10" >
    <h:outputText id="oa" value="#{country.name}"/>
    <f:facet name="popup">
    <h:panelGroup>
    <h:panelGrid columns="1" >
    <h:outputText value="#{country.cities}"/>
    </h:panelGrid>
    </h:panelGroup>
    </f:facet>
    </t:popup>
    DO you have any component like this ? Or any other way to do like this ?
    Thanks in Advance,
    KK

    I wrote a component a while back that does something similar to what you want. You'd probably need to fix it up and add any features that you need that it doesn't already have. It pops up a menu on a right-click, it allows you to provide a facet to supply the contents of the menu. I doubt I made sure it works in IE or any browser other than Firefox... so there may be JS issues. It has some other component dependencies you might want to remove also. I could get it to the point where you could try it out and fix it up if you want, but I won't have time until next week.
    Ken Paulsen
    https://jsftemplating.dev.java.net

  • "Toast it" appearing in menu when right clicking

    The words "Toast it" appears in menu when right clicking an icon but Toast has been uninstalled. How can I remove it please?

    Try this previous discussion:
    https://discussions.apple.com/message/12533120#12533120
    Re: "Toast It" wont go from contextual menu

  • TO ADD A CUSTOM ENTRY IN RIGHT CLICK POP UP MENU IN ORACLE HRMS FLEX FIELDS

    We are building a custom help for Oracle HRMS. For this I need to add a custom Help entry in the right click pop up menu. I did this by adding the code APP_POPUP.INSTANTIATE('POPUP10','Custom Help',TRUE,'LINE') in the APPCORE lib. After this change the right click menu shows the new entry 'Custom Help' when user right clicks in any of the form but the new entry Custom Help' doesn't show up when I right click in flexfields. I am sure I need to do some thing else for flex fields.. Does any one have any idea on this ?

    You have to refer to the Current Form, Current Block , Current Item so that the menu appears only in the form where you want to see.

  • How to display images for right click menu items

    I am trying to display some image to the left of my right click menu items.I have searched the help but did't find anything wich can add an image to the menu items. If anyone knows how to do it, Please share 
    Thank to all.
    If you are young work to Learn, not to earn.

    Hi Mr,
    you should have searched the topic 'Programming with Menu Bars'
    Use the ATTR_SHOW_IMAGES attribute to add a column in the menu in which images can be placed. Then use the ATTR_ITEM_BITMAP attribute to specify an image to use for a submenu or menu item

  • Labview edit time menu and right click popup menus

    How can i add a menu item to the labview edit time menus and to the right click popup menu of any selected object in a block diagram?
    I would like to integrate commonly used tools by me out of the springboard scripting tool into actual labview.
    Solved!
    Go to Solution.

    It sounds to me like you are looking for something like the Right-Click Framework.  Some people really like it, I have not used it extensively myself.  I've had a request to convert a quick drop shortcut into a RCF plug-in, I'll see how it goes.  I have also longed for a good way to hook into the LV IDE to add my own tools, what I find are useful, but not fully satisfactory solutions.
    1)  Right-Click Framework:  Some initial startup costs in terms of downloading and installing.  Start up is a bit slow (on my machine), and the workflow is a bit different than what I am used to:  Select an object, press the hotkey, right-click.  You can get used to it, but it is not as responsive as a built-in right-click since you can't right-click in one action.  It seems to be easily extensible, I'll know more in a day or two.
    2)  Quick Drop:  Built into LV.  Slow startup like RCF.  Fairly easily extensible.  Not context aware (unless you build it in to your plug-in), so you have to choose your letters wisely.  After the initial pain, the response time is not shabby, does require the extra Ctrl-Space action.  
    3)  Tools Menu:  I drop a few things in here, like my custom connector pane editor.  Not bad, but there are no keyboard shortcuts (what a pain), so it is good for actions that you might call once or twice on a given VI.
    In short, all of these methods require extra clicks or keypresses and are a bit sluggish.  If something like copy and paste behaved this way we would never use LV again, but if your tool truly saves you a bunch of steps it is well worth it.  I have almost run out of letters to use for my QD shortcuts.
    Addedendum:  Personally I am not quite ready to start talking to my computer, but LVSpeak seems pretty cool, Smashy Smashy.

  • How to get a pop-up menu on right click of JTree?

    hi
    My application consists of a JTree.I am having a 2 root nodes each one have some child nodes.in the first root node what i want is on right click of child node i have to display one option that is enabled and on the second root node what i want is on right click of child node i have to display one option that is disabled..
    how to do that
    thanks for your reply in advance,

    When you are creating your nodes, do node.setUserObject(objectName);
    and on right click, do something like this
    if (e.isPopupTrigger() == true) {
             selPath = tree.getPathForLocation(e.getX(), e.getY());
          try {
             // If Right Click, Select the Node
             Object[] selectedPath = selPath.getPath();
             DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode) selectedPath[selectedPath.length - 1];
             try {
                dataObject = (MyObject) selectedNode.getUserObject(); // Set the Data Object
             } catch (ClassCastException ex) {
                                      ex.printStackTrace();
             // Check for the right click on Framework Node
             if (dataObject.getClass().isInstance(new MyObject()) == true) {
                // Disable the pop-up menu
    ....

  • Way to search custom engines via right-click/updated version of AcidSearch?

    Are there any current ways to search highlighted text in a customized list of engines via right-clicking it? I used to do it via AcidSearch but it hasn't been updated in years, and the author is not planning on doing so.
    I'm currently using Firefox because it has that capability via add-ons, but I'd rather use Safari as I've noticed that version 4 can handle most pages FF can't, plus it's faster and FF 4 has been postponed to 2011. Thanks
    P.S. I have a list of custom engines in the search bar via Glims but that's not what I'm asking about.

    Hi Mark,
    I think this application has a some potential. However, it has a long way to go to reach that potential.
    Let's start with the toolbar (the blue button that appears on the taskbar) that is created by default when the application is installed. If you'll forgive my bluntness, it's a distracting waste of space and a flagrant misuse of the toolbar user interface.
    If there is something wrong that requires urgent attention (like, for example, the hard disk is failing), then the program should open a dialog box. Otherwise, user notifications should be displayed in -- surprise -- the Notification Area. Please have your developers read and understand the Windows User Experience Interaction Guidelines. 
    And seriously, what is up with the Coverflow-esque marketing garbage on the -- ugh -- "Ultimate Business Tool" tab? If you're wondering why this program has the reputation of being bloatware, look no further than here. This has no business being in a diagnostic application.
    I could say more, but I think you get my drift. Remember the old version of PC Doctor? When all it did was scan your computer for problems and gave you a nice report, without trying to take over your taskbar or sell you stuff? Ah, the good old days.

Maybe you are looking for

  • After IOS 8 update I cannot access wifi

    My ipad mini says I have wifi connected, but it doesn't work. no apps, no safari, nothing. Happened immediately after IOS 8 upgrade. Any ideas??

  • Excise Invoice for Order Based Billing Scenerion

    Dear Friends, We have a scenarion, wherein we are working with Sales Order Based Billing. We are in the process of Implementing CIN with TAXINN. Is it possible to create excise invoice for the scenarion of Sales Order based billing, instead of delive

  • Macbook will not update from 10.9.3 to 10.9.5

    My macbook wont update. In the "About This Mac" window it says I have version 10.9.3, and in the App Store it says I have updated to version 10.9.5 on 4 different dates (which I have tried to do). It also states that there are no new updates availeab

  • Colors in column

    Hi All, Wanted to know if I can give colors in a column: For eg if i have a column for number of projects (values from 1 to 100) Can I display another column where I could just give colors like 1- 25 projects red color, 26-50 blue. 51-75 green and 76

  • Mixing Arial and webdings fonts in the same dynamic text.

    I'm building a stock ticker in Flash where I have to display some symbols using webdings for up or down. The rest is Arial font. I've tried everything. Creating css, using font tags, textformat etc... webdings always shows as a roman chars, not symbo