How to display  menu at runtime?

Hi People,
Can u help me in knowing the use of menu concept.I have tried creating a menu.the menu is also created but only i can compile it.i couldnt run that menu form.what should i do for running menu form?.pls suggest me.
Thanks & Regards
VIDS

Hai,
In the Forms Property palette, set Menu Source = File (this will be default), and Menu Module = <menu_name> .
Then when you run the form, that menu will appear along with the form.
And you can change the menu of a form through coding also. for that write
     REPLACE_MENU(:GLOBAL.Str_FrmMenu);Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks.

Similar Messages

  • How to display BITMAP at runtime

    Hey all....
    I am new to Photoshop SDK CS2 plugin programming. Can anyone help me to find out any code or any information to display bitmap image on plugin dialog using photoshop API and not the Windows API or MFC. I am just using a simple Dialog extending PIDialog Class and placed a picture control at design time using resource editor in windows (Visual Studio).
    When I pass the resourceID of an Image in design time to picture control it displays the image and plugin is also working good but don't know how to pass it at runtime.
    thanks

    Hi,
    Thanks for your reply. My Plugin is an Automation type plugin and is visible in File/Automate menu. I am just opening a 'File Browse Dialog Box' through 'Open File' Button on Plugin Dialog to select a image file (*.bmp) then I want to display that image in thumbnail in Picture Control box on plugin Dialog (just like the File/Automate/Picture Package... plugin already included in Photoshop cs2).
    I have also downloaded the code given by you. again thanks for that. I am trying to understand the code. But I think it is too much for just displaying an image in picture control.
    Thanks

  • How to display images at runtime in a web appplication

    i use C#. and also, how do i get an image to be downloaded from mysql database at runtime upon request. here is a bit of my declaration code and conditional construct code
     byte [] f = (byte[])(read["Passport"]); // this reads d byte data from the column passport in the database and assigns it to byte f.
    if (f == null)
           admin1pass.ImageUrl = null;
     else
           MemoryStream ms = new MemoryStream(f); // this holds the image gotten from the database
           admin1pass.ImageUrl = System.Drawing.Image.FromStream(ms);
    'now thats where i'm stuck. i hv used the
    using System.Drawing;
    using System.Data;
    namespaces but none contains the class Image which is oftren what i use in windows form apps.

    They'll help you over here.
    Microsoft C# ASP.Net forum
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to display menu bar in safari

    New to IOS.  Just bought an iPad.
    Trying to import bookmarks, but need to have a menu in Safari to do it (according to some instructions I'm using)
    Don't see a switch in Settings.

    Safari on the iPad does not have a Menu bar. What you see is what it has.
    Depending on where you are coming from though you may still have a couple different options.
    If you are coming from a Mac, you could ostensibly copy your bookmarks to the Safari browser on the Mac and have the bookmarks then sync through iCloud.
    If you are on a Windows computer your best bet is to import your bookmarks to Internet Explorer and use the iCloud Control Panel to sync them over to the iPad.
    iCloud Control Panel for Windows
    http://support.apple.com/kb/dl1455
    You could also download one of the 3rd party Firefox sync Apps onto the iPad. They will sync with your Firefox browser and bring the bookmarks onto the iPad. You can then use them to open your Bookmarks on any browser on your iPad including Safari. The downside is the Bookmarks won't be inside Safari, but instead will reside in the sync App and you can open Safari from there.
    For example:
    https://itunes.apple.com/us/app/sync-for-firefox/id468995230?mt=8
    https://itunes.apple.com/us/app/sync-with-firefox/id611663172?mt=8

  • How to display a seperate right click menu for each item of a tree control?

    Hi I want to display a specific right click menu when a particular tree item is selected. I know how to create a menu and how to display it. I am using the function GetLabelFromIndex() to get the active tree item and then compare the label and based on the result display a manu for that item. Now my problem is that when I use the above function in the EVENT_RIGHT_CLICK it gives me the error "the Index passed is out of range" while using the same function with the same arguments in EVENT_SELECTION_CHANGE it gives no error...below is the part of my code
    case EVENT_RIGHT_CLICK:
    GetLabelFromIndex(panelHandle, PANEL_TREE, eventData2, label1);
    //The function gives the stated error here
    if(eventData1)//after it I compare the result and display the menu
    case EVENT_SELECTION_CHANGE:
    GetLabelFromIndex (panelHandle, PANEL_TREE, eventData2, label1);
    //The function works fine here
    if (eventData1)
     If any one have any idea whats going on or alternate way of doing this Please share knowledge...Thanks
    If you are young work to Learn, not to earn.

    Hi,
    one possible approach of solving this problem is looking closer at the error message: The error "the Index passed is out of range" tells you that something is wrong with the index, either it is too small or too large So why don't you set a breakpoint and check the index value, it might be useful information...
    The other hint is to check the meaning of eventdata2 (using the help): It is different for different events! For the event_right_click it gives the horizontal mouse position, not the index as event_selection_change does...

  • How to display Tcodes infront of each menu item on bw screen ?

    Hi,  Can you please tell me the way how to display Tcodes infront of each menu item on bw screen.
    Like modelling Rsa1
    I know this is possible as i have seen it myself and i tried a lot to find. Plz help.
    Prashant singhal

    Hi,
    In Bottom of your screen tab, click small icon and choose "Transaction".
    you can see all transaction codes while you navigate to any screen.
    hope it helps
    Regards,
    Arun.M.D

  • How to display complete menu tree for a particular SAP user in UI5

    Hi Experts,
    I am trying to display menu tree for a particular SAP user on click of button placed in shell content.
    I am referring this link
    Displaying the Complete Menu Tree - User Interface Add-On for SAP NetWeaver - SAP Library
    But I am not getting the exact process.
    Can anyone please provide some help.
    Thanks in advance.

    >
    cranjith kumar wrote:
    > I am displayed a user name and password columns in
    > screen painter.if i will not fill any one of the two fields
    > means then a message will be display.
    > My requirement is if i wont fill the "username field"
    > means then the cursor should not move to the
    > "password"  field (i.e we should not able to enter passwords)
    > and a message should be displayed to indicating that
    > user name is invalid.
    > Kindly send me the coding for this one immediately.....
    How about you immediately try to figure it out for yuorself?  Read the SAP help on screen development and search these forums.  Here's a hint, look at things like FIELD and CHAIN in your PAI...

  • How to display  all the under menus options when pressing the main menu on adobe muse?

    How to display  all the under menus options when pressing the main menu on adobe muse?

    How to display  all the under menus options when pressing the main menu on adobe muse?

  • How to display special characters in Script...

    hi all,
    Can any one tell me how to display special characters in script...
    how to write in text element
    thanks in advance,
    prashant

    Hi Prashant ,
      What special characters would you like to include .
    There are a set of characters / icons /symbols that can be included in Script , for that open a window in edit mode and in the menu there will be an option called Insert  , here you can find a lot of characters/symbols that can be included .
    Regards,
    Arun

  • How to display error message in Shopping Cart?

    How to display error message in Shopping Cart and stop the shopping cart for further processing? I try MESSAGE w001(zshop) or MESSAGE e001(zshop). But it is causing run-time error.

    Hi Paul,
    In the DOC_CHECK or DOC_SAVE BADI, you have a global internal table named et_messages. The structure of this table is 'bbp_smessages_badi'. You can append your error message here by inputting the message type, ID and number. The message type is either 'E' for error or 'W' for warning and the number would depend on your message class(ID). You will be able to see the error message on top of the screen, can be a red or yellow highlight depending on your appended message. I don't think creating the error message via the MESSAGE syntax will be successful, maybe this is why you are getting a runtime error.
    Regards,
    Noel

  • How to display the value of a column in a chart at the top of each column

    How to display the value of each column in a chart at the top of each column?

    Like this?
    Done using chart Inspector.
    For details, see Chapter 7,  Creating Charts from Numerical Data in the Numbers '09 User Guide. The guide may be downloaded via the Help menu in Numbers.
    Regards,
    Barry

  • How to compile menu in forms

    Dear All
    How to compile menu if anyone already using the menu
    if it is possible will you please reply.

    Thank you for sending me reply
    but my problem is when compile the menu if any user
    access the menu
    form builder doesn't allow to compile it. for that i
    have to down the form serverAre you sure you're talking about Oracle Forms Builder??
    You can compile your source .mmb even if there's any user running the runtime of your menu .mmx
    What you can't do is, you cannot replace (overwrite) the .mmx if there is any session using it.
    Tony

  • How to display an error message in maintenace view

    Hi,
    I have following requirement.
    I have a table. In the table, there is a field named REPORT which keeps an executable report name. When adding an entry i need to fill the field with an report name, which should exist in the system. The report name should not be include objects.
    Then I use search help HELP_TRDIR with import parameter SUBC = 1.  I also create a maintenance view for the table.
    Then my question is how to display a warning message if the report I input in REPORT field doesn't exist in the system. If I need to modify the generated objects of the maintenance view, how to do it.
    The reason i don't use foreign key is that it seems filter functionality is not availabe in the case with import parameter SUBC = 1.
    Thanks in advance,
    Best Regards, Johnney.

    Hi,
    You need to add your validation in the table maintenance events:
    Use the event : 01 - Before saving data to the databse table... for this purpose
    1) Go to Menu-> Utilities->Table mainatenace generator
    2) On the table maintenance screen->Menu->Enviroement-> Modifications->Events
    3) select an event 01 and give some subroutine/form name.
    4) Add your validation in the form(Note this form should be in the Func Group of the table maintanance genetaor)
    Regarrds
    Shiva

  • How to display non-URL-based thumbnail images in JTable

    I'm trying to display thumbnail images as a tooltip popup for certain cells in a JTable. The thumbnail images are java image objects that have been retrieved dynamically as the result of a separate process--there is no associated URL. For this reason, I can't use the setToolTipText() method of the JTable.
    My attempts to JTable's createToolTip() method also failed as it seems the ToolTipManager never calls this method for a JTable.
    As a workaround, I've added a MouseMotionListener to the JTable that detects when the mouse is over the desired table cells. However, I'm not sure how to display the popup over the JTable. The only component that I can get to display over the JTable is a JPopupMenu, but I don't want to display a menu--just the image. Can anyone suggest a way to display a small popup image over the table?
    Thanks.

    Thank You Rodney. This explains why my createToolTip() method wasn't being called, but unfortunately I'm no closer to my goal of displaying a true custom tooltip using a non-URL image rather than a text string. If I make a call to setToolTipText(), at any point, the text argument becomes the tooltip and everything I have tried in createToolTip() has no effect. However, as you pointed out, if I don't call setToolTipText(), the table is not registered with the tooltip manager and createToolTip() is never even called.
    To help clarify, I have attached an SSCCE below. Please note that I use a URL image only for testing. In my actual application, the images are available only as Java objects--there are no URLs.
    import javax.swing.*;
    import java.awt.*;
    import java.net.URL;
    import java.net.MalformedURLException;
    public class Test {
        static Object[][] data = {
                {"Cell 0,0", "Cell 0,1"},
                {"Cell 1,0", "Cell 1,1"}};
        static String[] columnNames = {"Column 0", "Column 1"};
        static JFrame frame;
        static String testImageURLName = "http://l.yimg.com/k/omg/us/img/7c/0a/4009_4182164952.jpg";
        static JTable testTable = new JTable(data, columnNames) {
            public JToolTip createToolTip() {
                System.out.println("testTable.createToolTip() called");
                Image testImage = getTestImage();
                // this.setToolTipText("Table ToolTip Text");
                JLabel customTipLabel = new JLabel(new ImageIcon(testImage));
                customTipLabel.setToolTipText("Custom ToolTip Text");
                JToolTip parentTip = super.createToolTip();
                parentTip.setComponent(customTipLabel);
                return parentTip;
        // This image is loaded from a URL only for test purposes!!!
        // Ordinarily, the image object would come from the application
        // and no URL would be available.
        public static Image getTestImage() {
            try {
                URL iconURL = new URL(testImageURLName);
                ImageIcon icon = new ImageIcon(iconURL);
                return icon.getImage();
            catch (MalformedURLException ex) {
                JOptionPane.showMessageDialog(frame,
                        "Set variable \"testImageName\" to a valid file name");
                System.exit(1);
            return null;
        public static void main(String[] args) throws Exception {
            frame = new JFrame("Test Table");
            frame.setSize(300, 100);
            // Set tool tip text so that table is registered w/ tool tip manager
            testTable.setToolTipText("main tooltip");
            frame.getContentPane().add(testTable);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
    }

  • HT201343 I am trying to stream a video from U-tube on to my TV using my apply T.V. The airplay icon appears on my i-tunes but not on u-tube. It does stream on to my T.V using i-tunes so I take it it does have airplay, but does not appear n display menu. H

    Airplay works on I-tunes but not on sites where you might want to stream, such as U-tube. It does not appear on my display menu settings, but as i-tunes as the icon I am thinking the computer must have the capability. Can anyone help, how to I turn airplay on so I can stream using my apple TV. I am sure as I-tune is working I have everything set up right.

    Mirroring requires OSX 10.8 or higher.
    Just use the YouTube app on the ATV.

Maybe you are looking for

  • How to link Material Document with Sales Order

    Hi, When we receive stock through MFHU transaction it becomes sales order stock. The movement type used to receive these into stock would be 131 for MTS & 131 E for MTO. My question is how link Material Document (MKPF/MSEG) with Sales Order because l

  • Can't get nouveau to work

    I'm currently using xf86-video-intel for my video driver, however last night I attempted to use xf86-video-nouveau for my video driver, but could not get it to work. I've followed all the steps listed in the nouveau wiki, and still can't load a GUI.

  • I want the software to remove the error msg

    hi to all i m getting error msg when i m trying to download an update my phone through sony website. it says exception:java.lang.NullPointerException. so i hv called the sony and they told me that i m missing one of the softwares. so call sun java an

  • How do I set locations in Photos?

    How do I add locations to photos I import from a camera that does not have GPS?  This was very easy to do in iPhoto, but I cannot find it anywhere in Photos.

  • Error Migración 2005 a 2007

    Buenas tardes... Estoy intentando de realizar una migracion de cliente SAP 2005 a la version 2007 y sin embargo me arroja un mensaje de error: "La BD de la sociedad GL no es consistente. Para mas información consulte el archivo log de SAP Business On