Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"import" Custom colour palette

KeyserApr 21 2017 — edited May 5 2017

Hi,

(Forms 12.2.1.2)

I have created a custom colour (R234G239B245 = the "Display Item" colour when using lookAndFeel=Oracle and colorScheme=swan) and added it to a custom colour palette, I would like to share that colour across many forms.

From what i can tell so far, you must manually import the new colour palette into every single form where you wish to use the new colour.

I've tried creating a property class in a reference form with the custom colour already imported and then sub classing it into another form but the new colour doesn't get carried across.

There doesn't seem to be any JDAPI methods that allow me to manipulate colour palettes programatically.

I thought it might be possible to replace the default.pal file with my own but it doesn't automatically inherit the new values.

So when it says "import colour palette" does it mean that it actually embeds all the values of the palette into the .fmb file? (I've ultraedited the .fmb and that does seem to be the case)

If you export your new colour palette and set it to "shared - read only" then any new forms you create use that new palette but any existing forms won't use it unless you specifically import it.

Has anyone had any luck doing anything similar? 

Or can anyone tell me how to use the same colour as the display items?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2017
Added on Apr 21 2017
5 comments
1,182 views