How to Change Icon of a module in SAP B1

Hi All,
I have added a new module in Main Menu via BIAddon wizard in .Net. I have given image property for that module. Now , I want to change this image on mouse click. Can anyone help me on this issue?
Thanks & Regards

Hi Sheetal,
On the mouse click try this code.
oMenu.Item("MenuID").Image = "Image.jpg"
If helpful dont forget to give points.
Regards,
Vasu Natari.

Similar Messages

  • How to change icon of a Folder-track?

    By Folder-track I mean the Folder in Arrange window that is created from "packing reions". Is that even possible in LogicPro7 - to change it's icon?
    I mean I know how to change icons for my audio tracks, audio-instrument tracks. And it would be nice if I can assign different icons for different Folder-tracks.
    I did not find how to do that

    It is possible... use option-command-hold on the icon of the folder in a track in the arrange and up pops the many icons to choose from.
    You can set the icon to something other than the folder.
    To make different folders I guess you would have to do some image editing
    and make your own icons but that is pretty easy.
    Put your user create icons here...
    ~/Library/Application Support/Logic/Images/Icons
    and logic will load your numbered image file instead of the default ones that
    Logic would normaly use.
    Note: 1.png is the file name of the regular folder icon.

  • How to code a predifined function module in sap ,in se37.

    can any one tell me how to code a predifined function module in sap ,in se37.it's an immediate requirement.if u give a brief description it'll do.

    Hi Henry,
    There are two possible ways in which I can interpret your question.
    1. You want to create a new Function Module in SE37. you will have to refer to the <a href="http://help.sap.com/saphelp_47x200/helpdata/en/d1/801e9a454211d189710000e8322d00/frameset.htm">Function Builder</a> tutorial for that.
    2. You want to use an existing function module in your program. In the code of your program in SE38, click the button <i>Pattern</i>. On the pop-up, give the name of the function module that you wish to use in your program.
    Regards,
    Anand Mandalika.

  • How to change the field length in standard sap program.

    Hi All,
    How to change the field length in standard sap program.
    Urgent
    Example:
    Text1 type c length 75,
    To change :
    Text1 type c length 150,
    Point will be rewarded..
    Thank you,
    Vikram.C

    If the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
    Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
    regards, Rob

  • How to change spare part item price in sap

    Dear All,
    Can you tell me how to change spare  part item price in sap ,
    like in our company hike new price of spare part item so how can update a new price in bluk order
    thankx and Regards
    Pritpal

    Hi,
    Try MR21 & MR22.
    First assign the appropriate G/L account against the account key for the same.
    Regards,
    Sourabh

  • How to change icons of a JTree node dynamically

    Hi all!
    I want to change icon associated with a node dynamically ( i.e. after the tree has being displayed). How can i achieve this?
    Can any one provide me a sample code snippet.
    Thanks in advance
    Murali

    I have created CustomCellRenderer and i'm calling this class as follows
    tree.setCellRenderer((TreeCellRenderer) new CustomCellRenderer(true));
    The boolean value for the constructor (in this case it's true) will be set to
    a local variable in the CustomCellRenderer class. Then upon clicking a node in the tree the boolean value (true) is set and the icon for that node should be changed as specified in the CustomCellRenderer class.
    When i click on a node all the icons of that tree are disappearing.
    Can any one help me in this issue
    public class CustomCellRenderer
              extends          JLabel
              implements     TreeCellRenderer
    private ImageIcon          grayfolderImage;
    private ImageIcon          greenfolderImage;
    private ImageIcon          bluefolderImage;
    private ImageIcon          redfolderImage;
    private ImageIcon          whitefolderImage;
    private boolean               bSelected;
    boolean logfileDeleted;
         public CustomCellRenderer()
              grayfolderImage = new ImageIcon("C:\\images\\grayFolder.gif");     
              greenfolderImage = new ImageIcon("C:\\images\\greenFolder.gif");     
              bluefolderImage = new ImageIcon("C:\\images\\blueFolder.gif");     
              redfolderImage = new ImageIcon("C:\\images\\redFolder.gif");
              whitefolderImage = new ImageIcon("C:\\images\\whiteFolder.gif");     
         public CustomCellRenderer(boolean logfileDeleted){
              this.logfileDeleted = logfileDeleted;
         public Component getTreeCellRendererComponent( JTree tree,
                             Object value, boolean bSelected, boolean bExpanded,
                                       boolean bLeaf, int iRow, boolean bHasFocus )
              // Find out which node we are rendering and get its text
              DefaultMutableTreeNode node = (DefaultMutableTreeNode)value;
              String     labelText = (String)node.getUserObject();
              this.bSelected = bSelected;
              // Set the correct foreground color
              /*if( !bSelected )
                   setForeground( Color.black );
              else
                   setForeground( Color.red ); */
              // Determine the correct icon to display
              if( labelText.equals( "ioexception001" ) )
                   setIcon( redfolderImage );
              else if( labelText.equals( "ioexception002" ) )
                   setIcon( greenfolderImage );
              else if( logfileDeleted ==true )
                   setIcon( whitefolderImage );
              else if( labelText.equals( "ioexception004" ) )
                   setIcon( redfolderImage );
              else
                   setIcon(bluefolderImage);
              // Add the text to the cell
              setText( labelText );
              return this;
         // This is a hack to paint the background. Normally a JLabel can
         // paint its own background, but due to an apparent bug or
         // limitation in the TreeCellRenderer, the paint method is
         // required to handle this.
         public void paint( Graphics g )
              Color          bColor;
              Icon          currentI = getIcon();
              // Set the correct background color
              bColor = bSelected ? SystemColor.textHighlight : Color.white;
              g.setColor( bColor );
              // Draw a rectangle in the background of the cell
              g.fillRect( 0, 0, getWidth() - 1, getHeight() - 1 );
              super.paint( g );
    }

  • How to change icons in Maverick

    Those folders in Maverick look all alike. I cannot quickly see the most important folder
    So I would need to change icons
    Is there a free app for that ?

    - display XtraFinder as a menu
    When XtraFinder is running there's a menu in the Menubar:
    - colorful icons in sidebar
    Put Color Icons Back in Finder Sidebar with SideEffects for 10.9
    Here's the download page: https://www.macupdate.com/app/mac/43078/sideeffects

  • How to change icon of a node or root node of a JTree

    i have a JTree with a root node, and leaf nodes. i want to change their icons. how can i do this?
    thanks

    Here's a search of the forums with the words 'tree', 'icon' and 'node' in the title
    http://onesearch.sun.com/search/developers/index.jsp?and=jtree+icon+node&nh=10&phr=&qt=&not=&field=title&since=&col=devforums&rf=0&Search.x=28&Search.y=15
    I looked at a couple and #5 seems interesting, but there are quite a few to choose from.

  • How to change icon size in iWorks media viewer

    Hi
    I have just upgraded my wife's macbook from 10.6.8 to 10.8.2 and she uses pages a lot
    The media viewer in pages seems to have just one size for the icons of the photos. You used to be able to drage a slider to increase the size
    I have tried all the ctrl key type ideas but nothing
    Why do they delete features that are d=so useful or hide them in non obvious palecs and make it hard for the less technical user.
    I have been using pages since the first and a Apple since 1980 and support 500 machines - most using pages so I would appreciate any help.
    Mountain Lion has made Pages a little less friendly
    Yours
    Vern Dempster

    auwoo wrote:
    I just upgraded to iOS 7.0.4.  I hate it and wish I could uninstall it.  Is there any way to change from the huge icons of 4X4 on screen to old style of 4X5 size?
    You cannot.
    But how is 4x4 larger than 4x5?

  • How to change icons in new iPhone version?

    Hello everybody
    I do not like these "japanese cartoons" like new icons
    - do not object to all those who will surely "love" them -
    simply : how can I change mine?
    (once it was simply in Apple softwares...)
    best
    Orietta

    orietta.c wrote:
    how can I change mine?
    You don't, some learn to like them.

  • How to change icon size when uploading pics?

    So I'm uploading pics to facebook, into an album where I'll put multiple pics.   The problem is that when I click upload on facebook, and the "upload finder window" comes up, even though I choose icon as the view way, they are at the smallest size, and barely recognizeable.
    Note that I'm not talking about a regular finder window. I know how to get those to come to the right size. I have already set my preferences in finder to show all icons at 128x128, but it doesnt seem to affect the browser upload finder...  this problem shows up with all browsers too (safari, chrome, firefox)
    I'm at my wit's end because I have to upload multiple pictures every two or 3 hours for work, and this is jsut ridiculous.

    auwoo wrote:
    I just upgraded to iOS 7.0.4.  I hate it and wish I could uninstall it.  Is there any way to change from the huge icons of 4X4 on screen to old style of 4X5 size?
    You cannot.
    But how is 4x4 larger than 4x5?

  • How to change icons on desktop

    The applicaton icons on my disktop show Apple's generic application icon not the manufactures software icon.  How do I change this?

    You need to be much more specific. Also you shouldn't be storing much on your desktop, Apple advises against that. If you want application icons shown, put them in your Dock.

  • How to change icon size on screen

    I just upgraded to iOS 7.0.4.  I hate it and wish I could uninstall it.  Is there any way to change from the huge icons of 4X4 on screen to old style of 4X5 size?

    auwoo wrote:
    I just upgraded to iOS 7.0.4.  I hate it and wish I could uninstall it.  Is there any way to change from the huge icons of 4X4 on screen to old style of 4X5 size?
    You cannot.
    But how is 4x4 larger than 4x5?

  • How to Change Icon of  Desktop Application?

    Friends, i am developing one small software using Java Desktop Application in Netbeans. I want to change the icon of my application (cup of coffee). I have tried this code: URL url = new URL("myApplication/resourcesresources/camera.png");
    Toolkit kit = Toolkit.getDefaultToolkit();
    Image img = kit.createImage(url);
    this.getFrame().setIconImage(img);
    and
    URL url = new URL("F:/Documents and Settings/Selva/My Documents/NetBeansProjects/HashCodeCracker/src/myApplication/resourcesresources/camera.png");
    Toolkit kit = Toolkit.getDefaultToolkit();
    Image img = kit.createImage(url);
    this.getFrame().setIconImage(img);
    i have searched in google and nothing works . Can anyone solve this problem?
    Note:
    This code works for me:
    Toolkit kit = Toolkit.getDefaultToolkit();
    Image frameIcon = kit.getImage("F:\\Documents and Settings\\Selva\\My Documents\\NetBeansProjects\\HashCodeCracker\\src\\hashcodecracker\\resources\\PasswordCrackerIcon.jpg");
    this.getFrame().setIconImage(frameIcon);
    But i am creating software. So i can not specify the location of the Image in one path. The user may run the software from anywhere. So the above code can not be used.
    Thanks
    Edited by: Blackstar on Jun 1, 2011 8:46 PM

    Blackstar wrote:
    Friends, i am developing one small software using Java Desktop Application in Netbeans. I want to change the icon of my application (cup of coffee). I have tried this code: URL url = new URL("myApplication/resourcesresources/camera.png");You really have a directory called <tt>resourcesresources</tt>?
    Please use the code tags as described in the sticky post at the top of the forum thread listing.

  • How to change icon images in Mavericks?

    I am having difficulty changing some Desktop Icon images in Mavericks.
    Some times I can (Macintosh HD), sometimes I cannot (Applications folder or alias), for example.
    Never had problem prior to 10.9

    To change your Applications folder icon:
    In Finder, press shift-command-G, paste in the following and press Go..
    /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ApplicationsFol derIcon.icns
    Change the name of ApplicationsFolderIcon.icns to ApplicationsFolderIcon.icns.backup
    Confirm this change by selecting Use .backup and enter your password
    Move the .icns file you want to use for your Applications folder and rename it ApplicationsFolderIcon.icns
    Enter your password when prompted
    Restart your computer, open Terminal, type
    killall Finder
    and press return.
    You should have a new Applications folder icon.
    To revert, delete the new file, change the name of the original file back to ApplicationsFolderIcon.icns and follow the rest of the steps above.
    [NB: This change may not stick through future OS updates]

Maybe you are looking for