How to set forms 11g buttons to display icons

Hi,
How to set forms 11g buttons to display icons.Actually i have tried so many links
http://blog.newtrics.com/?p=936
Re: Icon image not showing in forms 11g RELEASE 2
but i am not getting image on the Oracle Form.Bad Image is always showing.
I am trying from 1 week So plz help me Its very urgent .
Thanks
Anup
Edited by: 888679 on May 22, 2012 4:37 AM

am afraid u r configuring the wrong file path pls verify....
formsweb.cfg
path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\conf
registry entries as well
Hope this helps...
Regards,
Amatu Allah
Edited by: Amatu Allah on May 22, 2012 6:17 AM

Similar Messages

  • How to set form feed   in output .lst file

    sql >set pagesize 60
    spoo abc
    select * from xyz;
    spoo off
    In the file abc.lst header and placed details 60 lines. but at
    the time of printing if paper lenght is 72 lines how to set form feed?

    Try
    set newpage 0

  • Iconic buttons not display icons

    Hello All,
    i have problem with the iconic buttons not display icons in forms 10g
    i have set button properties as
    iconic=yes
    icon filename=print
    my path for icons and forms are
    e:\backoffice
    plz any solution
    thx
    najeeb ur rehman

    Hi,
    Read the doc at :
    http://www.oracle.com/technology/ products/forms/pdf/webicons.pdf
    It's very descriptive and It'll help you...
    Regards ,
    Simon

  • How to set the number of records displayed at run time

    Is it possible to set the number of records displayed block property at run time? The built-in 'GET_BLOCK_PROPERTY' can retrieve the number of RECORDS_DISPLAYED. But I can't find SET_BLOCK_PROPERTY to set this property. Is there anyway I can set this property programmatically? Thanks for any suggestions!

    Bookmark Go to End
    goal: How to vary the number of records displayed in a block
    programmatically
    fact: Oracle Forms Developer
    fix:
    Block property 'Number of Records Displayed' can not be changed during runtime
    using SET_BLOCK_PROPERTY. However, it is still possible programmatically change
    the visual appearance of the form so that it creates effect of changing this
    property. To achieve such an effect follow these steps:
    1. in Forms Builder, in the multirecord block define the new set of items.
    The simplest way is to copy/paste the original item and rename created item.
    2. set properties of these new items so that they are the same as the properties
    of the original items. If these new items were copied from original items
    then properties are already the same. Modify following properties
    'Database item' on new items to value 'No'
    'Synchronize with item' to the value of the original item
    'Number of Items Displayed' to desired value.
    'Visible' to 'No'
    In other words, these new items are mirrors of original items.
    3. code event, which is meant to trigger the change in block appearance.
    This code should use SET_ITEM_PROPERTY built-in to set properties
    like 'VISIBLE', 'ENABLED', 'NAVIGABLE', 'UPDATE_ALLOWED' and others
    to desired value for items which are about to be displayed, then
    move cursor to one of these just displayed items with GO_ITEM built-in
    and then hide the previously displayed items.
    Example:
    Assume that the block is built on SCOTT.DEPT schema. Following will
    change the set of displayed items
    set_item_property('dept.mdeptno',visible,property_true);
    set_item_property('dept.mdname',visible,property_true);
    set_item_property('dept.mloc',visible,property_true);
    set_item_property('dept.mdeptno',enabled,property_true);
    set_item_property('dept.mdname',enabled,property_true);
    set_item_property('dept.mloc',enabled,property_true);
    set_item_property('dept.mdeptno',update_allowed,property_true);
    set_item_property('dept.mdname',update_allowed,property_true);
    set_item_property('dept.mloc',update_allowed,property_true);
    set_item_property('dept.mdeptno',navigable,property_true);
    set_item_property('dept.mdname',navigable,property_true);
    set_item_property('dept.mloc',navigable,property_true);
    go_item('dept.mdeptno');
    set_item_property('dept.deptno',visible,property_false);
    set_item_property('dept.dname',visible,property_false);
    set_item_property('dept.loc',visible,property_false);
    Regards,
    Monica

  • How to set input ready query to display mode as default when open workbook?

    Dear All,
    Hi, i have a question here about IP query.
    as my current situation, my workbook included one input ready query, therefore, when i open my workbook which default is Edit mode which mean all value can be edited.
    but, i want it to display mode when open workbook, and i already have a edit button, if i want to edit the value i will use Edit button, so, i wan it as display mode when i first open workbook.
    so, can anyone tell me how to set it as display mode when open workbook which included input ready query?
    Regards
    wenlong
    Thanks a million

    in Data Provide Specfici  commad
    Edit
    Dsiplay
    Filter command
    Assigen Query /Query view
    pls select Edit then save

  • How to set the default button of an ALERT

    Can someone help me how to set the alert propety to change the default button from button1 to button2.Not from the prioperty palette, but inside the code using like set_alert_property.I am using the Oracle Forms 10g.
    Thanks in advance.
    Srini

    To the best of my knowledge, the default button cannot be set at runtime. This must be set at design time in the Builder.
    Refer to the Forms Builder online help for details:
    http://www.oracle.com/webapps/online-help/forms/10g/topics/f1_help/builts/setatpro.html

  • How to set up one-button embed-hotlinking for Flash SWF?

    Hello,
    I'm publishing a webcomic in Flash.swf format and I'd like to make it as easy as possible for people to grab my comic and put it on their website. How can I set up one-button hot-linking that will automagically provide the code so that they can easily drop it into their website, similar to the way YouTube does with video?
    Thanks,
    Tom

    you can use the following.  the bolded lines require you to use appropriate values:
        <div id="flashContent">
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="yourswfwidth" height="yourswfheight" id="swfname" align="middle">
                    <param name="movie" value="http://www.yourdomain.com/path/swfname.swf" />
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#ffffff" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="window" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="http://www.yourdomain.com/path/swfname.swf" width="yourswfwidth" height="yourswfheight">
                        <param name="movie" value="http://www.yourdomain.com/path/swfname.swf" />
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#ffffff" />
                        <param name="play" value="true" />
                        <param name="loop" value="true" />
                        <param name="wmode" value="window" />
                        <param name="scale" value="showall" />
                        <param name="menu" value="true" />
                        <param name="devicefont" value="false" />
                        <param name="salign" value="" />
                        <param name="allowScriptAccess" value="sameDomain" />
                    <!--<![endif]-->
                        <a href="http://www.adobe.com/go/getflash">
                            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                        </a>
                    <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
            </div>

  • How to set a default button in a JFileChooser dialog?

    How do I set the default button in a JFileChooser dialog?
    Thanks in advance!
    Thomas

    public static JButton searchByText(Component comp, String[] texts) {
        if (comp instanceof JButton) {
            JButton btn = (JButton) comp;
            String text = btn.getText();
            for(int j=0; j<texts.length; ++j)
                if (text.equals(texts[j]))
                    return btn;
            return null;
        if (comp instanceof Container) {
            Container cont = (Container) comp;
            for(int j=0, ub=cont.getComponentCount(); j<ub; ++j) {
                JButton result = searchByText(cont.getComponent(j), texts);
                if (result != null)
                    return result;
        return null;
    }You can call this method, passing it your JFileChooser and:
    String[] approves = {"Open", "Save"};

  • How to set / reset radio buttons in screen..

    hi,
    i have 4 radio buttons in my screen, initially only the first one must be active and all other must not be in selected state. at any point of time only one must be selected and based on the selection the subscreen area must be filled with the subscreen.
    whats the code to check if the radio button is selected or how to set the action for the radio button selection ?
    also whats the statement to reset the radio button ?
    thks

    You put them all in a radiobutton group.
    For example:
    PARAMETERS: rb_pres  RADIOBUTTON GROUP rbf,"Presentation Server Files
                            rb_app   RADIOBUTTON GROUP rbf."Application Server Files
    The first one is defaulted to "X", but you can also do that yourself.
    You check the value = "X" to see which is selected or say IS NOT INITIAL.
    Hope this helps,
    Mark

  • How to set input ready query to display mode and set edit mode in WAD?

    when I create A input ready query but not set query propery  start  query in change mode ,but I want to set this query in input ready mode ,how to set this in WAD?
    hope anyone can help me
    regard  by
    wenlong

    Hi,
          You can get all the info from this thread , try it out
           WAD - set data entry mode
           Hope it helps.
    Regards,
    Priya.

  • How to handle the "cancel" button and "close" icon of a popup ?

    Hi,
    I have a popup with "cancel button" and "close icon"(on the top right corner of the popup), I want the same operations to be performed on clicking of any of these two components.
    Is there a way to handle such situation ?
    I read about 2 cases to look into this but they didn't work too well for me.
    1. I read about the "popcancellistener" but that listener is called whenever the popup closes, so suppose I have an "ok button" on the popup to create a record, after the record is created, the popup closes and goes into the "popcancellistener", now the question is "how do we know if it came there because of the 'ok button' or 'some other event'".
    2. I even checked the "DialogListener", now I'm able to distinguish between the 'OK' and 'CANCEL' button in the dialoglistener using the "Dialog.Outcome.ok/cancel", but when a user clicks on the close icon, we do not enter the "DialogListener" at all, so in this case "how do we handle the close icon click event"
    Do let me know if you need any more information from my side.
    Thanks for the help in advance.

    The following mechanism responds to any of the following events: <Esc> key, Close icon ('x'), Cancel button
    JavaScript part:
    function popupClosedListener(event){
                  var source = event.getSource();
                  var popupId = source.getClientId();
                  var params = {};
                  params['popupId'] = popupId;
                  var type = "serverPopupClosed";
                  var immediate = true;
                  AdfCustomEvent.queue(source, type, params, immediate);
    }JSF part:
             <af:popup ....>
                  <af:clientListener method="popupClosedListener"
                                           type="popupClosed"/>
                  <af:serverListener type="serverPopupClosed"
                                          method="#{myBean.serverPopupClosedMetod}"/>
            </af:popup>Finally, Java part:
    public void serverPopupClosedMetod(ClientEvent event){
    }

  • How to disable the back button when displaying a form

    Hi ,
    i have form A calling form B, when form B is displayed i want to disable the
    back button in the explorer so as not to allow the user from going back to
    form A.
    thanks.

    When you open a new window, call following javascript function also to disable the "back" button.
    window.history.forward(1);
    It will work.

  • How to set size of buttons

    hi,
    I am working on the GUI. There are four buttons. I wanted the button's width to be just enough to show the text inside the button and not "...." or bigger than required. How should I edit my code, which is shown below?
    Thanks in advance
    regards
    * GridBagLayoutDemo.java is a 1.4 application that requires no other files.
    import java.awt.*;
    import javax.swing.*;
    public class GridBagLayoutDemo {
        final static boolean shouldFill = true;
        final static boolean shouldWeightX = true;
        final static boolean RIGHT_TO_LEFT = false;
        public static void addComponentsToPane(Container pane) {
            if (RIGHT_TO_LEFT) {
                pane.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
              GridBagLayout gbl = new GridBagLayout();
             container.setLayout(gbl);
             gbl.layoutContainer(container);
            GridBagConstraints c = new GridBagConstraints();
            c.fill = GridBagConstraints.HORIZONTAL; //natural height, maximum width
              recv = new JEditorPane();
              recv.setEditorKit(new HTMLEditorKit());
              recv.setEditable(false);
              JScrollPane pane
                   = new JScrollPane(recv,
                             JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
                             JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
              c.ipady = 200;      //make this component tall
            c.weightx = 1.0;
            c.weighty = 1.0;   //request any extra vertical space
            c.gridwidth = 8;
            c.gridx = 0;
            c.gridy = 0;
            container.add(pane, c);
              to_reply = new JCheckBox("Reply to latest message", true);
                c.gridx = 0;
            c.gridy = 1;
            c.gridwidth = 4;
            container.add(to_reply, c);
              type = new JTextArea();
              type.setFont(new Font("Arial",Font.PLAIN,11));
              type.setLineWrap(true);
              JScrollPane typepane
                   = new JScrollPane(type,
                             JScrollPane.VERTICAL_SCROLLBAR_NEVER,
                             JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
              c.ipady = 50;
              c.weightx = 1.0;
              c.gridx = 0;
            c.gridy = 2;
            c.gridwidth = 6;
            container.add(typepane, c);
              send = new JButton("Send");
              c.fill = GridBagConstraints.NONE;
              c.gridx = 5;
            c.gridy = 2;
            c.ipady = 10;
            c.anchor = GridBagConstraints.LINE_END;
            container.add(send, c);
            String num_msg_just_inserted = "Newly inserted messages : 0";
              num_msg_inserted = new JLabel(num_msg_just_inserted);
              c.gridx = 0;
              c.weightx = 1.0;
            c.gridy = 3;
            //c.gridwidth = 2;
            container.add(num_msg_inserted, c);
              see = new JButton("See");
              see.setBounds(235,220,65,20);
              see.setEnabled(false);
              c.fill = GridBagConstraints.NONE;
              c.anchor = GridBagConstraints.LINE_START;
              c.ipadx = 2;
                 c.ipady = 2;
              c.gridx = 1;
            c.gridy = 3;
            container.add(see, c);
              previous_msgs = new previous_messages(thisframe);  
            previous_msgs.setBounds(10,200,220,20);
            msgPosiArray = new msgPositionArray();
            c.weightx = 1.0;
            c.gridx = 0;
            c.gridy = 4;
            c.gridwidth = 4;
            container.add(previous_msgs, c);
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
            JFrame frame = new JFrame("GridBagLayoutDemo");
            this.setSize(550,500);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Set up the content pane.
            addComponentsToPane(frame.getContentPane());
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

    90% of people's layout woes on this forum seem tostem from the fact that they use GridBagLayout.
    I'll second that.
    And I will third that!
    If you read this article from Sun it practically ignores GridBagLayout and mentions that GridBagLayout should only be used by GUI builders. It is a dated article (it preedates BoxLayout) but is very informative in its own right. I have a suspicion that Sun meant GridBagLayout to be used by GUI builders rather than hand coded.
    http://java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/shortcourse.html
    As far as using setPreferredSize, setMinimumSize, and setMaximumSize it is up to each layout manager whether they honer those setting. Among the layout managers included in the JDK I don't believe any of them honor setMaximumSize. Only GridBagLayout honors setMinimumSize, and then they all honor at least one component (i.e. height or width) of setPreferredSize.
    Don't take that as gospel but I believe that to be correct.
    As has already been pointed out it isn't good to set the size to a hard value. It won't play nice with all look and feels.

  • How to fix the firefox buttons not displaying correctly (i.e. the "save file" button when trying to install an add on)?

    For example, the button for "save file" when downloading an add-on does not display correctly. It works nevertheless, but the button itself is not showing up correctly.
    *edit: sp errors*

    It looks that you have made changes to the appearance of button that cause items and text to be larger.
    In your case this doesn't seem to work properly with the consequence that the middle part of the button gets distorted.
    I'm curious if this artifact would move to the other (Cancel) button or disappear if you would use the Tab key or cursor key to set focus to the Cancel button or if it is a problem with the label text that isn't default (OK or similar).

  • How to set images as buttons?

    Hi,
    I am trying to create a GUI in which each frame/panel has few buttons.I am able to put an icon in the button.Now please can u tell me how one can set an image as button?I am using netbeans to do the above.
    Thanku..

    tara_730 wrote:
    I am able to put an icon in the button.
    can u tell me how one can set an image as button?Does not compute. An Icon is an image, so if you can put one on a button, you're done. What are you trying to do, and what have you managed to accomplish, in detail.

Maybe you are looking for

  • Javascript Alert on download setup

    I just purchased Adobe Elements 6.0 for my IMac and have previously used a trial version. I have successfully downloaded the program, but when I run the setup file I get this error  "Javascript Alert: Critical errors were found in setup. Incompatible

  • Web pages loading with a long wait period

    Hello I have just i have just installed windows server 2012 R2 on my new PC Here is my configuration: Core i7 3370 4 GB RAM 1GB Graphics I am using Netgear wireless adapter WNA3100 Internet connection seems to be OK, download is OK However web pages

  • Asset master change through LSMW

    Hi, I want change the location for 1250 Assets.i want to use LSMW. Will you please explain first 4 steps of LSMW for this. Thanks Rafi

  • Gnome: how to view .svg files

    hello. When I switch themes in gnome I get an error that gnome couldn't open a .svg file. I have libpng, libjpg, are there others I need for gnome to open the .svg files? Geert.

  • How can Time Machine backup automatically when your external hard drive isn't connected?

    Everywhere I search, it says that Time Machine will automatically backup every 24 hours and so on. However, I was wondering - how can these automatic backups take place if you are backing up to an external hard drive which is not always connected? Is