5 Replies Latest reply: Nov 26, 2012 4:09 PM by user12294571 RSS

    Right click is not working on oracle form

    user12294571
      Hi
      I created a custom form using template.fmb
      When user trying to pasted some data into text field and right clikc the mouse , the popup menu is not coming.
      Actually nothing is happening when right click the mouse.

      Please help me on this one and let me know if I am missing any setups or any libraries .....

      Thanks
      Kiran.
        • 1. Re: Right click is not working on oracle form
          CraigB
          The Right-Click menu (or as Oracle calls the a Popup Menu) only works in Oracle Forms if you have created one in your form. The following is a nice little tutorial on how to create a Popup menu. iSelfSchooling - Pop Up Menu

          Hope this helps,
          Craig B-)

          If someone's response is helpful or correct, please mark it accordingly.
          • 2. Re: Right click is not working on oracle form
            user12294571
            Hey Craig,
            Thank you so much for spending time on this one.
            It helped in one way , the document is for appending the popup for individual items.
            I followed the document it worked excellent.

            But the problem is I have around 40 items in my form and if I go that way I have to go to each item and add the popup to that item.
            Is there a way we can do it on the block level or form level ,so that you attache the popup at one location and all the items get that property.

            Thanks
            Kiran.
            • 3. Re: Right click is not working on oracle form
              CraigB
              Unfortunately, you have to assign the Popup menu to each item using the Popup Menu property of the item. Also, unfortunately, the Set_Item_Property() built-in does not allow you to set this property at runtime; you must set the property value during design. You can use the JDAPI Java library to dyamically modify your Forms binaries (.fmb). Search the forum on "JDAPI" for information about using this library. If you are not Java proficient, then only option available to you would be to select all of the items you want to use this popup menu and set the property in mass.

              Craig...
              • 4. Re: Right click is not working on oracle form
                user12294571
                Craig,
                Thank you so much for your help on this.
                Unfortunately I am not a Java guy.
                So I am going with the long procedure of assigning the popup for each and every item .
                But only thing is I didn't see that like appending the popup menu in seeded forms . The popuup functionality comes as up and tunning in seeded forms.
                If i pick a seeded form and delete all un necessary frames and .... and put my custom stuff in there , then its working.

                Anyway i am fine for now . Thanks again for your help.

                Kiran.
                • 5. Re: Right click is not working on oracle form
                  user12294571
                  Guys,
                  Finally I am able to resolve it .
                  I forgot to update this here and now thought it will helpful for others so I am updating it now even though this is old thread.

                  This is what I did
                  1. Right clik on the form name in forms developer.
                  2.Open Property palette
                  3.Click on the subclass field.
                  4.Choose "Property Class Name " as "Module".
                  5.Choose "Module" as your form name .

                  Thats it and right click started working .