2 Replies Latest reply: Jan 23, 2013 12:11 PM by CraigB RSS

    Hide/Replace Windows Title in 11gr2.

    ocpdev
      Hi All!

      I m using Forms 11gr2, and want to show title of Company Name on the top of the Main Window, i.e. above my menu bar.

      Previously I was using following built-in in Forms 6i successfully;
      SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'Company Name'),

      but now, it instead show two titles
      -- Address bar of form (above my menu bar).
      --Oracle Fusion Middleware title (above address bar of form) at the top.
      which ultimately decreases my main windows size.

      So, sir Please guide me how to disable these two Windows Titles and replace these with my Title as Company Name , above My Menu Bar Window.

      Thanks & Regards.
        • 1. Re: Hide/Replace Windows Title in 11gr2.
          HamidHelal
          ocpdev wrote:
          Hi All!

          I m using Forms 11gr2, and want to show title of Company Name on the top of the Main Window, i.e. above my menu bar.

          Previously I was using following built-in in Forms 6i successfully;
          SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'Company Name'),

          but now, it instead show two titles
          -- Address bar of form (above my menu bar).
          --Oracle Fusion Middleware title (above address bar of form) at the top.
          which ultimately decreases my main windows size.

          So, sir Please guide me how to disable these two Windows Titles and replace these with my Title as Company Name , above My Menu Bar Window.

          Thanks & Regards.
          In version 11, the easiest way will probably be to use java script. For example:
          Declare
               rtn     varchar2(255);
          Begin
               -- rtn will return the value passed in
               rtn := WEB.JAVASCRIPT_EVAL_FUNCTION ('document.title = "This is my title."');
               message('The title has been set to '|| rtn);
          End;
          Hope this helps..


          Hamid
          • 2. Re: Hide/Replace Windows Title in 11gr2.
            CraigB
            If you are trying to change the name of the Forms Applet window, this is done through a setting in the formsweb.cfg file, specifically; applet_name=Your Title Here . I'm not aware of a Forms Built-in that will allow you to change the Applet Title/Name from inside a form.

            Craig...