Home » Developer & Programmer » Forms » Cant see image in push button (Forms 6i)
Cant see image in push button [message #308681] Tue, 25 March 2008 03:38 Go to next message
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 #308693 is a reply to message #308681] Tue, 25 March 2008 04:06 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Are types of "old" and "new" images the same? I mean, if an old image (which is properly displayed) a GIF image, is the new one GIF as well? If not, try to save a new image in the same format as the old ones.
Re: Cant see image in push button [message #308715 is a reply to message #308693] Tue, 25 March 2008 04:50 Go to previous messageGo to next message
oracle_me
Messages: 59
Registered: March 2008
Member
Hello Littlefoot,
Thanks for your reply.However both are of the same type, (.GIF) .still it does not work.. Sad
Re: Cant see image in push button [message #309240 is a reply to message #308715] Wed, 26 March 2008 19:43 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
If you rename the 'old' to 'aaa' and the 'new' to 'old' does it appear on the button that was used by 'old'? Put the names back.

Look at the 'properties' of the 'old' icon. What size is it? What about your 'new' icon?

David

Re: Cant see image in push button [message #309295 is a reply to message #309240] Thu, 27 March 2008 01:30 Go to previous messageGo to next message
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 #309304 is a reply to message #309295] Thu, 27 March 2008 01:43 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
That's right. The icons are not simple. I suggest searching this forum for 'icon gif' and working with the registry entry for defining where the icons live.

By the way, "renam[ing] my 'new' to 'old' and 'old' to 'olddd'" would change your 'new' to 'olddd'. I assume you did the renames in the other order.


David
Re: Cant see image in push button [message #309358 is a reply to message #309304] Thu, 27 March 2008 03:35 Go to previous messageGo to next message
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 #309550 is a reply to message #309358] Thu, 27 March 2008 17:58 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
ADD the UI_ICON or TK_ICON to your registry.

David
Re: Cant see image in push button [message #309580 is a reply to message #309550] Fri, 28 March 2008 00:40 Go to previous messageGo to next message
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 #309582 is a reply to message #309580] Fri, 28 March 2008 00:58 Go to previous messageGo to next message
oracle_me
Messages: 59
Registered: March 2008
Member
Hello,
As suggested by you I added the UI_ICON and gave two paths
in it.

c:\forms\icons;ORacle_home\FORMS60\java\oracle\forms\icons

However even now it does not display the images Sad
Re: Cant see image in push button [message #309588 is a reply to message #309582] Fri, 28 March 2008 01:19 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Look in the Forms Builder help. Search for 'ui_icon' and 'tk_icon'. Which one does it have in its list? Use that one.

David
Re: Cant see image in push button [message #309603 is a reply to message #309588] Fri, 28 March 2008 01:59 Go to previous messageGo to next message
oracle_me
Messages: 59
Registered: March 2008
Member
Hi ,
I looked at Forms_builder help.It has only UI_ICON and also it says only one location can be added .
so added only one location i.e
C:\oracle\oracledev\FORMS60\java\oracle\forms\icons

I also made all the image type as .GIF
Had restarted the system.
Had created a new form and added three push buttons.
When I use an old existing image it works but rest does not ..
As was the case earlier when I started the thread. Sad Sad Sad
Re: Cant see image in push button [message #309850 is a reply to message #308681] Sat, 29 March 2008 04:22 Go to previous message
*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

Previous Topic: How to populate
Next Topic: How can I attach or include .olb library in application?
Goto Forum:
  


Current Time: Tue Mar 11 12:41:14 CDT 2025