Cant see image in push button [message #308681] |
Tue, 25 March 2008 03:38  |
oracle_me
Messages: 59 Registered: March 2008
|
Member |
|
|
Hi All,
I created a push button and wanted to make it iconic.
I pasted the image in the following path:
Oracle_home\FORMS60\java\oracle\forms\icons
Here there are other images too.
If I use an image which is already in this folder, then it shows up.
However the new picture which I had saved in this folder is not showing up.
Why is this so ? please help.
|
|
|
|
|
|
Re: Cant see image in push button [message #309295 is a reply to message #309240] |
Thu, 27 March 2008 01:30   |
oracle_me
Messages: 59 Registered: March 2008
|
Member |
|
|
Hi David,
I renamed my 'new' to 'old' and 'old' to 'olddd'.
I set the icon name property to 'old',However I see the original old image, ( the image which was been renamed to 'olddd' now) .
So now I again set the icon name property to 'olddd' to see what happens.
When I run the form It does not show anything.
What I infer out of this is that, perhaps forms has already a named list and it uses only that even If I change the name of the image!!!
Strange..
I searched my Pc for the images containing the word 'old'.
So here I got two locations :
1) C:\oracle\oracledev\FORMS60\java\f60all.cab
2) C:\oracle\oracledev\FORMS60\java\oracle\forms\icons
The first location contains all the images which are in second location as well.Is it that forms picks up images from this location contrary to my assumption that it picks up from the second location ?
I also tried pasting my new image in C:\oracle\oracledev\FORMS60\java\f60all.cab .However paste option is disabled there.Also I am not able to open any og the .GIF images in this folder.There are only two options Copy and Extract.
Since I was not sure what this folder is all about,I dint do much .
These are my findings, Can you please help me further to solve this problem ?
|
|
|
|
Re: Cant see image in push button [message #309358 is a reply to message #309304] |
Thu, 27 March 2008 03:35   |
oracle_me
Messages: 59 Registered: March 2008
|
Member |
|
|
Hi David,
I went through all the threads for iconic image on push buttons.
However I do not have UI_ICON or TK_ICON in my registry.
Also I opened the registry.dat file in the location:
Oracle_home\FORMS60\java\oracle\forms\registry
Here I see :
#
# The Application Level icon files are relative to the DOCUMENTBASE
# example: icons/
# or an absolute URL.
# example: http://www.forms.net/~luser/d2k_project/
#
default.icons.iconpath=
default.icons.iconextension=gif
So Do I go and add a path for "default.icons.iconpath" as it is empty now or what do you suggest?
Also I hope adding this will not have any adverse effect on anything .
|
|
|
|
Re: Cant see image in push button [message #309580 is a reply to message #309550] |
Fri, 28 March 2008 00:40   |
oracle_me
Messages: 59 Registered: March 2008
|
Member |
|
|
Hi,
If there was no UI_ICON before , then from which path (location) was forms taking the earlier images?
I hope adding UI_ICON will not affect anything else.
It is jsut that I am a little apprehensive as I am only a developer and do not want to mess up with any of the keys in registry as that can affect even the operating system.
Also another doubt,there are two keys called UI60 and TK60,are they UI_ICON and TK_ICON or are they different,just to confirm ..
[Updated on: Fri, 28 March 2008 00:41] Report message to a moderator
|
|
|
|
|
|
Re: Cant see image in push button [message #309850 is a reply to message #308681] |
Sat, 29 March 2008 04:22  |
*munnabhai*
Messages: 157 Registered: March 2008 Location: Riyadh
|
Senior Member |
|
|
Post your ICON FOLDER on below path
C:\Forms\BIN
C:\ = your directory where forms installed
BIN = you will find all icons in bin directory
paste your folder there n give the path
i.e. C:\fomrs\bin\youriconfoldername
Regards
|
|
|