3 Replies Latest reply on Jan 16, 2013 9:21 PM by Michael Ferrante-Oracle

    UI_ICON  setup in version

      Hello, I have recently installed in my home PC, Forms(64-bit), and converted a small application from 6i to web.
      In 6i, I had .ico files and I converted it to .gif files. ( I read the upgrade guide E24478-01 ).
      But when I run the application from explorer, and I go to a form, I don't see the icons in push buttons.
      I have gone to default.env file, I opened it with Notepad++ and write the following UI_ICON=C:\Ret\Bin;
      this is the path where gif files exist ( and all the executable files also )
      I also put this value in Windows registry ( New --- String Value )
      and when I open the fmb which contains the push buttons with the icons I don't see them in canvas.
      I see only 1 button which has Icon Filename = clear while there is no clear.gif in the folder C:\Ret\bin.

      Can you help ? Because I have no experience with Forms in Web, only with client-server 6i.

      Thank you very much.
        • 1. Re: UI_ICON  setup in version
          This environment variable specifies the type of image to use in your Forms applications and to display it at design time. When you set this variable as "gif" (case insensitive), the extension that will be added to "Icon Filename" is ".gif". Specify the location for these images with the UI_ICON environment variable. When this environment variable is not set, or is set incorrectly, .ico is the default extension.
          1 person found this helpful
          • 2. Re: UI_ICON  setup in version
            I added the UI_ICON_EXTENSION=gif; to regedit and to default.env

            Now in Form Builder I can see the icons, but not in the web.

            I recompile and generated new fmx but again the same.
            • 3. Re: UI_ICON  setup in version
              Michael Ferrante-Oracle
              The image are not stored within your form. Therefore they need to be made available at runtime. They can either be stored on the server's file system or packaged in a jar file. A jar file is the preferred method because the jar file can be cached by the client JRE. The result is better startup performance and overall performance. There are numerous MyOracleSupport documents which discuss how to do this, however it is also covered in the Forms Deployment Guide:


              Refer to section 4.7.3