Home » Developer & Programmer » Forms » make button iconic (d2k,windows xp)
make button iconic [message #346640] Tue, 09 September 2008 04:00 Go to next message
masterborj
Messages: 21
Registered: October 2007
Location: Philippines
Junior Member

help please!!!
how can I make the icon appear at run time in my button?

i already created a jar file of my icons and appended the ff. configs:

[formsweb.cfg]
archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,icons.jar

[registry.dat]
default.icons.iconpath=D:\icons
default.icons.iconextension=gif

[orion-web.xml]
<virtual-directory virtual-path="/icons"
real-path="D:\icons" />

[regedit]
UI_ICON=d:\icons\
UI_ICON_EXTENSION=gif

i created my jar file using jdk\bin\jar.exe that is included in the installation of Developer Suite. Is that ok?
Re: make button iconic [message #346714 is a reply to message #346640] Tue, 09 September 2008 08:45 Go to previous messageGo to next message
szogu
Messages: 21
Registered: July 2008
Junior Member
Could you check
1. Where is your jar file located?
2. The following properties for the button

a) Iconic
b) Icon Filename

Regards,
Re: make button iconic [message #346849 is a reply to message #346640] Tue, 09 September 2008 20:33 Go to previous messageGo to next message
masterborj
Messages: 21
Registered: October 2007
Location: Philippines
Junior Member

i placed my icons.jar file in D:\DevSuiteHome_1\forms\java\. as for my button's properties, i set iconic to yes and iconfilename is exel.gif which is included in icons.jar and found in icons folder
Re: make button iconic [message #346922 is a reply to message #346849] Wed, 10 September 2008 01:51 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Look at http://www.orafaq.com/forum/m/315433/67467/?srch=jar+registry.dat#msg_315433 I think your missed the FORMS_PATH.

David
Re: make button iconic [message #346968 is a reply to message #346640] Wed, 10 September 2008 04:36 Go to previous messageGo to next message
masterborj
Messages: 21
Registered: October 2007
Location: Philippines
Junior Member

thanks for that djmartin

tried it but still it doesn't work. installed ds on a new pc to try it then try the configuration but still nothing happens. what might be inside the "X:\ERP\LIB" folder because his forms where in "X:\ERP\FORMS".do i need any library support?

regards...
Re: make button iconic [message #347035 is a reply to message #346849] Wed, 10 September 2008 08:32 Go to previous message
szogu
Messages: 21
Registered: July 2008
Junior Member
I havd odne nothing more and I am able to see the icons on the button.
Are you using JInitiator or Java Sun Plugging. It would be helpful if we see Formsweb.cfg file.
By the way I didn't touch registry.dat or orion-web.xml

Regards
Previous Topic: Attached Library
Next Topic: NO Response from Application Web Server
Goto Forum:
  


Current Time: Thu Dec 05 16:39:25 CST 2024