Anyone know how to show icon of a button in webforms?

My form have several buttons with an icon.
I create a item named 'UI_ICON' and set the value the directory of icon path. But when I deplop the form on the webserver or run the from IE 5.0. There are are no image shown.
BTW: I have converted the image format from .icon to .gif.
Anyone can help me?
Thanks a ton.

To specify directory path and image format for iconic button image files:
1.Open the Registry.dat file in a text editor.
2.Add the following lines to Registry.dat:
<app_class>.icons.iconpath=<path>
<app_class>.icons.iconextension=<format>
Replace <app_class> with a valid application class referenced by your Web
application.
Replace <path> with one of the following:
a fully-qualified URL that points to any directory on any server:
inv_form.icons.iconpath=http://abc_dev.com/html/icons/
a virtual directory on the same server from which the HTML page
downloaded:
inv_form.icons.iconpath=/icons/
a directory relative to the directory from which the HTML page was
downloaded
(non-cartridge implementations only):
inv_form.icons.iconpath=icons/
Replace <format> with gif (for GIF files) or jpg (for JPEG files). For
example:
inv_form.icons.iconextension=gif
Default Settings:
If you do not specify a directory path or image format for an application
class, Forms uses the default settings in the Registry.dat file:
default.icons.iconpath=
default.icons.iconextension=gif
Solution Explanation:
=====================
Application classes enable you to specify the directory path and image format
(GIF or JPEG) of image files for iconic buttons.
Using application classes is optional, since Forms supplies default settings
for the icon path. Use application classes if you wish to create a number of
different settings that you can alternate between by switching a single
reference in your application's cartridge settings, cartridge HTML file, or
static HTML file.
At runtime, Forms first looks for settings that correspond to the specified
application class (if any). If no application class settings exist, Forms uses
default settings. By default, Forms will search for iconic button image files
in the directory from which the application's HTML file was downloaded, and
will append ".gif" to the filename provided in your form. By default Forms
will only search for .GIF images, but you can switch to using .JPEG images in
the Registry.dat file.
To create settings for an application class, you must add the appropriate
settings to the Registry.dat file.
Regards
Grant Ronald
Forms Product Management

Similar Messages

Maybe you are looking for

  • How do i fix a flash "plug-in container" issue (ff indicates most recent version is installed)

    Hello. to start with im not really up on the ins and outs of ff, ive used it for a while but not really tinkered with till this problem Im running Vista (no comments on that please :p) and the latest version of as downloaded from the mozilla website

  • My wishes to Adobe

    Hi. I've been a fan of Cool Edit Pro/Audition since I first discovered it while it was still called CEP.  Since then, I upgraded to Audition which was better. But, I stalled at v1.5 because all the other versions totally redid what I was working with

  • Organizing photos in events that match originals

    I cleaned up(crop, delete bad ones, rename files) my photos in "events" but it didn't change in "originals". how do i get that to match?

  • Tds for education cess

    HI, Please let me   know i maintained TDS  configuration but its wrongly calculating for   Education Cess. vendor invoice vedor cr - 117288 fright dr - 120000 tds dr2400-2% surcharge-dr--240-10% education cess-dr-723%(tds+surcharge)---correct figure

  • App switching (cmd-tab) and Expose stop working

    This has happened to me several times in the last couple of days: Suddenly the cmd-tab command for switching applications stops working, as well as my active corners for Expose. No matter if I use the laptop's keyboard or an external one. After a res