Pop-up Menu in the Table

I have a problem with a pop up menu in the table control. Currently, I have set my table to HOT and i have 3 columns in my table which are set to Indicator, which allows me to select/highlight the cell but yet dosen't change the content in the cell.
But when i highlight let's say 3 cells in the same column and right click, a popup menu appears with 3 functions. Goto, Find and sort. I think this came together with the table control. I would like to disable the sort function as it rearranges the cell which are highlighted but not the rest of the cells in the next 2 columns. In my case this is not very good for me as all 3 columns are related to each other like column 1 = Name, column 2 = value, etc... Is it possible to disable to the sort function??
Cheers
AL

It seems strange to me that the built-ion popup menu appears after your own menu is displayed: how are you displaying your popup menu? If you are using RunPopupMenu to handle the right-click event and display your menu it is possible that it fires the built-in menu also.
If you don't need the built-in popup menu you do not need to remove every single item from it: you can use SetCtrlAttribute (panelHandle, PANEL_TABLE, ATTR_ENABLE_POPUP_MENU, 0); instead.
In every case, this is a control attribute: you must isse this line for every single table you want to customize: SetAttributeForCtrls ( ) from the Programmer'sToolbox is very useful in this matter.
As already mentioned in this thread, to add items to the built-in menu you can use NewCtrlMenuItem ()
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?

Similar Messages

  • Regarding pop up menu on the right click of a row of a table in a frame

    hi to all,
    i am a naive in applet and swing.
    i have some proplem regarding table in a frame.
    actually i want to open a pop up menu on the right click of a row of a table in the frame.please send the code regarding this.

    Hi,
    You're probably better off directing this to the swing forum but a starter for ten is the use of the MouseListener interface and the boolean isRightMouseButton method.
    http://java.sun.com/docs/books/tutorial/uiswing/events/mouselistener.html
    Regards,
    Chris

  • Can I change the fill color of an entire row based on what's selected in a pop-up menu in the first cell?

    I have a pop-up menu in the first cell of every row with three choices (and I may add more at a later date).  I want the fill color of the row to change depending on which thing is selected.  Is this hard to do?

    Hi,
    In essence the same as Wayne's answer, but with a slight modification to fit  to duplicate your 'color the whole row' specification. The final result, with Table 2 slid behind Table 1, is shown.
    Table 2 is a single column table with the same number of rows as Table 1. The table is resized to match the full width of Table 1.
    In A2, use the formula =Table 1::A2 to copy the value from that cell in Table 2. Fill the formula down through the rest of the column.
    Select all the cells in Table 2 (except the header row), and apply conditional formatting rules such as those below.
    Note that the Conditional Format rules are set to apply the same colour to text and fill in the cell, so that the text disappears.
    When Table 2 is ready, select it, then go Arrange > Send to Back.
    Before sliding Table 2 behind Table 1, Select Table 1 and use the Table Inspector to set the Cell Background to None (see red arrow in illustration). If This table has a Header column, you need to select the header cells independently and again set the Cell Background to None.
    Now select Table 2 and drag it to a position partially under Table 1. When you see the blue alignment guides on both sides, or at the top and bottom, of Table 1, release the mouse button and use the arrow keys to nudge Table 2 into its final position.
    Regards,
    Barry

  • How to add pop up menu on the column name of a jtable

    hi all,
    i am naive to swing .
    i want to know that how can i open a pop up menu on the right click of the column of a jtable build in frame.i mean to say i on th eright click on the header of table which has column names.

    [url http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html#popup]How to Use Popup Menus.

  • Choose Plot Columns as Series or Plot Rows as Series from the pop-up menu in the bottom ba

    I am trying to construct a 2D graph in Numbers 3.5 (2109) that shows at two time points the voting intentions by political party. The instruction given by Help is below, but I cannot find the bottom bar or the pop-up box.
    Switch rows and columns as data series
    When you add a chart, Numbers defines default data series for it. In most cases, if a table is square or if it’s wider than it is tall, the table rows are the default series. Otherwise, the columns are the default series. You can change whether rows or columns are the data series.
    Select the chart.
    Choose Plot Columns as Series or Plot Rows as Series from the pop-up menu in the bottom bar.
    Bar showing options to plot rows or columns as series
    Click Done.

    Hi Phil,
    Click once on the chart (graph) to select it. Then click on Edit Data References. The pop-up appears bottom left of the Numbers window.
    Regards,
    Ian.

  • I want to create an external video widget with iAd. I followed the steps and copied the Url and paste it in the Video pop-up menu in the Properties section of the inspector. When i select 'preview' the video doesn't play and the Url that i pasted is gone.

    i want to create an external video widget with iAd to use in an iBook. I followed the steps and copied the Url and paste it in the Video pop-up menu in the Properties section of the inspector. When i select 'preview' the video doesn't play and the Url that i pasted is gone.
    hope someone can help!

    May have something to do with whether or not the URL can be reached while building your widget.  I've got a video on the web. When I enter the URL into the field for the video object and click to another field,  the URL is replaced with some text indicating that it is accessing the video then updates itself to displaying just the name of the video file.
    It shows just fine in preview and I can see the full path to the video when I export the widget so it should work for you. 
    Is the video accessible from your Mac while you're laying out your widget?
    -Mark

  • Put "Background from Layer" in the pop-up menu of the layer

    Sometimes you need to convert a layer into a background. There is an option "Background from Layer" in the Layer menu and it is good where it is, but I think it would be good and very intuitive to add it also to the pop-up menu of the layers in the layers palette in the same way that a background layer has the option "Layer from Background..."

    In the meantime, I've found it easy to write and action and assign an f-key to it. 
    With CS6 it's important to keep in mind that if you change your bottom layer to Background AND you've cropped your image using the new crop tool, you will lose the "hidden, but still there" part of your image. When the layer once again becomes "Background" you have, in effect, used the old crop tool and lost your way back to the hidden pixels.
    It becomes a decision of what you want for that particular image: a larger file size but a way back to the original or a smaller but final file size with no way back.

  • Vertical pop-up menu on the right

    how to make a vertical pop-up menu on the left with submenu on the right?
    Is it possible?
    I am using dreamwever 5

    If you do decide on a SpryMenuBar then you need the style rules as hightlighted in the following to get the submenu items to fly out to the left.
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    <style>
    ul.MenuBarVertical {
        float: right;
    ul.MenuBarVertical ul {
        margin: 5% 0 0 -95%;
    ul.MenuBarVertical a.MenuBarItemSubmenu,
    ul.MenuBarVertical a.MenuBarItemSubmenuHover {
        background-position: 5% 50%;
    </style>
    </head>
    <body>
    <ul id="MenuBar1" class="MenuBarVertical">
      <li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
        <ul>
          <li><a href="#">Item 1.1</a></li>
          <li><a href="#">Item 1.2</a></li>
          <li><a href="#">Item 1.3</a></li>
        </ul>
      </li>
      <li><a href="#">Item 2</a></li>
      <li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
        <ul>
          <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
            <ul>
              <li><a href="#">Item 3.1.1</a></li>
              <li><a href="#">Item 3.1.2</a></li>
            </ul>
          </li>
          <li><a href="#">Item 3.2</a></li>
          <li><a href="#">Item 3.3</a></li>
        </ul>
      </li>
      <li><a href="#">Item 4</a></li>
    </ul>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    Gramps

  • Where is the the "Library pop-up menu near the top of the iTunes window."

    Need some some help with music sharing. Where is the "the Library pop-up menu near the top of the iTunes window." ?
    Will this work with a Windows laptop running iTunes?
    /m

    leroydouglas wrote:
    Preview> under View you can open Show the tool bar.
    You may have to drag the image wider in order to see the instant alpha tools etc on the right side.
    There are 2 short cuts:
    shift-command-\   ( same as command-| )
    shift-command-a
    Hi Leroydouglas
    Thank you for your reply.
    leroydouglas wrote:
    Preview> under View you can open Show the tool bar.
    First thing I tried. Made no difference.
    leroydouglas wrote:
    You may have to drag the image wider in order to see the instant alpha tools etc on the right side.
    Interesting point.  As I said, I have done all this of course,. Hence I doubted my interpretation of the Help Page instructions.
    However I find, even now, that when I drag the right edge of the window over to what would be half way across my second screen if it were connected (it is disconnected right now because the monitor has died and I haven't replaced it yet) still all I can get are the options as far right as the crop tool.  That's it.
    There are 2 short cuts:
    shift-command-\   ( same as command-| )
    shift-command-a
    I found them to be -
    shift-command-\ 
    shift-command-a ( same as command-| )
    But, what the heck, who cares? Neither keystroke made any difference.
    Might be a clue though?
    Again, thanks for taking the trouble to reply, Leroy.  Much appreciated my friend.

  • I am using Photoshop CC2014 15.00.  In the pop-up menu for the Fill command there is a place for Scripted patterns.  Within that part, the tree and the picture frame are grayed. Why?   I've seen demonstrations on how to use the feature but mine doesn't wo

    I am using Photoshop CC2014 15.00.  In the pop-up menu for the Fill command there is a place for Scripted patterns.  Within that part, the tree and the picture frame are grayed.
    Why?   I've seen demonstrations on how to use the feature but mine doesn't work.  I checked the updates and I have the current version.
    Thanks.      LM

    I am running CC 2014.2.1 and I've updated to Yosemite. Not seeing tree or frame as an option in the menu. Coworker still on Mavericks has it.

  • Can I have a pop down menu on the left and then text fields directly to the right? I can only get them to be one above the other.

    Hi All,
    I am building a form and would like to create a pop down menu on the left (and ideally with the options being colour boxes boxes but this does not seem possible), and then have three text separated text lines on the right of the pop down menu for notes related to the pop down choices.
    Do you know if this is possible?
    Thanks,
    Matt

    It sounds like you're creating the form in FormsCentral. You have limited options in the FormsCentral designer as far as layout. You can place multiple fields on a line, or one field per line. If you create the design/layout in a program like InDesign or Word, generate a PDF, and add the fields form in Acrobat, you have complete flexibility over the placement of the fields.
    The items in a dropdown field are limited to text that are all the same color.

  • Where do I find the Output Pop Up Menu on the Soundtrack Interface?

    Where do I find the Output Pop Up Menu on the Soundtrack Interface?

    Assuming you are in Address Book, you choose the records you want to print and then the File/Print menu selection.
    If the printer menu comes up with only the name of the printer and "Presets" dropdown choices, you click on the arrow to the right of the printer name to expand the print menu. Make sure the box below the pages to print is showing "Address Book" and you will see the "Style" below it.

  • Pop-up menu values from table cells rather than hard-coded?

    Hello,
    I'd like to have a pop-up menu that allows the user to select a category from the list. However, I want that list of categories to be dynamic. I have a table with all of my categories, and I want a pop-up menu that allows me to select one of the values in that table. I change "foo" to "bar" in the table containing the pop-up menu options, and I want the user only to be able to select "bar" in the pop-up menu (bonus points if all past instances of "foo" in the user-entered table are automatically changed to "bar" as well).
    While I'm at it, is there any way to have conditional formatting based on my dynamic categories? I.E. ROYGBIV color order for my categories corresponding to alphabetical order of categories, even though the category labels my change over time or some may be added or deleted.
    BTW, I have already downloaded the Numbers reference guide and formula guide.
    Any suggestions appreciated. Thanks very much,
    Adrian

    Question asked and responded many times :
    *_Feature unavailable_* .
    In several threads, Jerrold Green described a tip which may be used to mlimic this missing feature.
    You may use the Search tool :
    One returned link for the 90 days period.
    I checked, it's a good one.
    Yvan KOENIG (VALLAURIS, France) lundi 5 juillet 2010 19:19:21

  • Does the Pop-Up Menu causes the Video a small jump to the closest Pop-Up chapter?

    I have setted five Pop-up Chapter Menu for my project but after burning the blu ray, I have notice the vidoe coming close to one of the Pop-up Chapter will a small jump to the pop-up point. It happens to all of the Pop-Up chapter. Is there a way to make the movie smooth without the slight jump when approaching the Pop-up point. Also is there a away to view the pop-up menu when I build the project to ensure it is working? I cannot find on the Encore help menu, thanks for reading.
    Wayne

    Bummer. Could be a problem with the MBP drive. Are you using Re-writable discs maybe?
    Check the discs work in your HP machine. They may have burnt but not successfully. Your HP machine may not be able to open them either.
    Have you considered using a USB flash device to transfer the photos, or just copy them over your home network? CD is a slow an cumbersome method.

  • I can not get the pop out menu from the tools to work.  It looks like they are not loaded

    Can someone help me know how to get the tool pop out menu to work.  It looks like they are not loaded.

    You do have to click and hold down on any tool icon with a small triangle in the lower right.
    The second method is to right-click on the tool.
    Gene

Maybe you are looking for

  • Output Preview not working in Acrobat Pro 8

    Hi, I'm trying to check a PDF document for CMYK and all that before it goes off to the printers and Acrobat Professional 8's Output Preview has stopped working for me - the separations list has vanished. Basically, when I open the Output Preview tool

  • NetworkManager dispatcher script doesn't work

    Hey there, i have created a script in networkmanagers dispatcher.d directory to automount my NAS once my home wifi is connected and unmount it once the connection is lost. The dispatcher service is running and all permissions and the execution bit ar

  • How to split header text in table view to 2 lines?

    Hello, I have a table view that has many fields. There are fields with long header text. Is it possible to split the text and have it on 2 lines? Foe exsamle: instead of 'ORDER NUMBER'  --->  ORDER                                                     

  • Stop/Start OGG

    hi, I am using OGG and is working well (two-way replication) Every night, my databases are stopped and started (for snapshot backup) my question: is it better to stop/start OGG with the database or let OGG running all the time ? Thanks for your help

  • Business Catalyst Help | Add a favorites list for navigation

    This question was posted in response to the following article: http://helpx.adobe.com/business-catalyst/partner/add-customer-favorites-list.html