Home » Developer & Programmer » Forms » How to change form builder color.. (Oracle 10g Forms)
How to change form builder color.. [message #389336] Sat, 28 February 2009 13:30 Go to next message
urnikhil
Messages: 42
Registered: March 2008
Member
Hi all,

We are currently using Oracle 10g Forms in Unix environment. We use EXCEED software to build applications using form builder on Windows.

The form builder is currently in blue color. It's terribly becoming difficult to develop applications on a blue background color, especially strains my eyes a lot. I tried various options to change the color to white but wasn't successful.

Thought you guys could help me in this regard.

Thanks,
Nik.
Re: How to change form builder color.. [message #389898 is a reply to message #389336] Wed, 04 March 2009 00:35 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
You mean like this?

./fa/5842/0/

David
  • Attachment: f45.JPG
    (Size: 46.31KB, Downloaded 1651 times)
Re: How to change form builder color.. [message #390027 is a reply to message #389336] Wed, 04 March 2009 11:48 Go to previous messageGo to next message
urnikhil
Messages: 42
Registered: March 2008
Member
David,

That's right. Please advice.

Thanks,
Nik.
Re: How to change form builder color.. [message #390104 is a reply to message #390027] Wed, 04 March 2009 23:40 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Sorry, no idea. If you find out please let us know.

David
Re: How to change form builder color.. [message #390518 is a reply to message #389336] Fri, 06 March 2009 22:43 Go to previous messageGo to next message
urnikhil
Messages: 42
Registered: March 2008
Member
Hi David,

I found that the environment variable FORMS90_CLAF should be set to true, to enable the "classic" Forms look and feel. I am not sure if that changes the forms builder to white color.

Thanks,
Nik.
Re: How to change form builder color.. [message #394184 is a reply to message #390518] Thu, 26 March 2009 00:25 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you solved your problem?

I discussed it with my colleagues and they believe that if you create a new form, permit the modification of the colour pallette on the 'tools', 'options' panel, save this new pallette in the new form, then open Forms Builder using this new colour pallette that this may change the colours in your editor.

David
Re: How to change form builder color.. [message #402339 is a reply to message #389336] Fri, 08 May 2009 18:14 Go to previous messageGo to next message
ojmoreno
Messages: 2
Registered: May 2009
Location: México
Junior Member
Hi, Nik.

I was going through the same problem in my job, since the Development Team complaints were all about the color and layout in unix.

Recently I found out a way to fix that dreadful color. You just have to use the motif libraries that come with Oracle Forms Builder (motif are libraries used to modify the appearance in X Windows).

Just open the attachment in my post (a PDF document containing Oracle Developer installation guide), scroll down to the Appendix A, and go to the "Configuring Your Environment for Motif" section.

The document is for 6i version but it applies to the 10g version as well (I just tried it out successfully).

By the way, try out the gray color. It's a great one.

Hope it helps.
Omar.
Re: How to change form builder color.. [message #402393 is a reply to message #389336] Sat, 09 May 2009 16:27 Go to previous messageGo to next message
oracle123
Messages: 56
Registered: March 2009
Member
Hey Omar,

Thanks for your reply. I am very glad to know that we have a solution for this issue. As a rookie developer, I still have some problem in understanding the content actually. Thought you can help me out.

I am not a system administrator and have basic knowledge in linux. Could you please list out the exact steps you took to change the color?

As per my understanding, we should use the following commands to change it to gray color:
Quote:
$ cd $ORACLE_HOME/guicommon6/tk60/admin
$ mv Tk2Motif.rgb Tk2Motif.skyblue
$ cp Tk2Motif.gray Tk2Motif.rgb


Please also let me know if we need to change anything as our environment is Oracle 10g opposed to 6i.

Thanks,
Nik & Scott.
Re: How to change form builder color.. [message #403089 is a reply to message #389336] Wed, 13 May 2009 12:14 Go to previous messageGo to next message
ojmoreno
Messages: 2
Registered: May 2009
Location: México
Junior Member
Hi, Nik.

Actually, you can do it in two different ways. The first one is at user level and the second one is the general level (for all users).

As I'm not the system administrator either, what I did was to change the appearance at user level. I mean, just for my account. Next are the steps for both modes.

a) For the user level way, you just have to copy the Motif file for gray version to a file called Tk2Motif (the X-Windows system will look for this file in your user home).
$ cp $ORACLE_HOME/guicommon/tk/admin/Tk2Motif.gray $HOME/Tk2Motif
If you want to use another color (rose or steel) just change the word "gray" for the color you want. If after a time you decide that the original color is the best one (I mean, the unpleasant skyblue one) just delete the Tk2Motif file from your home.

b) For the general level way, follow the next steps.
Go to the admin folder.
$ cd $ORACLE_HOME/guicommon/tk/admin
Rename default Motif file (rgb) to Tk2Motif.skyblue (the unpleasant one).
$ mv Tk2Motif.rgb Tk2Motif.skyblue
Copy the color you want to use to Tk2Motif.rgb (in the example I'm using the gray one).
$ cp Tk2Motif.gray Tk2Motif.rgb
If you need to return to the original color just rename Tk2Motif.skyblue to Tk2Motif.rgb.

After have done this, just start the Forms Builder as usual and enjoy the new color. You don't have to change any environment variable at all. Just follow the steps above. If you don't know what is the value of your $ORACLE_HOME variable (because it's not set yet) just look at the script that starts the Forms Builder and there you will find that value.

If you have any problem, just let me know.

Omar.
Re: How to change form builder color.. [message #403148 is a reply to message #389336] Wed, 13 May 2009 23:41 Go to previous message
oracle123
Messages: 56
Registered: March 2009
Member
Omar,

Thanks once again for your detailed reply. I was successful in changing forms builder color to gray for my account. But was unable to change it for all users. I followed the exact steps mentioned by you. It still shows up in the skyblue(default) color.

Anyways thanks a lot for the info. I feel very happy now.

Previous Topic: 'COMMIT_FORM' TRIGGER
Next Topic: display images
Goto Forum:
  


Current Time: Wed Dec 07 22:05:28 CST 2016

Total time taken to generate the page: 0.11670 seconds