Re: System Colors

From: Rick Schoeffel <richard.d.schoeffel_at_boeing.com>
Date: Tue, 16 Apr 2002 15:06:10 GMT
Message-ID: <3CBC3DE2.C67A754C_at_boeing.com>


Sybrand Bakker wrote:
>
> On Mon, 15 Apr 2002 16:29:03 GMT, Rick Schoeffel
> <richard.d.schoeffel_at_boeing.com> wrote:
>
> >Okay. I received no response to my original post. Maybe I didn't explain
> >well enough what I am looking for. I'll try again.
> >
> >I want to be able to set an item background color to be the came as the
> >background color of a window. The form window background color is
> >unspecified so it will always be the color the user has selected with
> >the MS Windows Display Properties. I need a way, like a forms built-in
> >function, to find out what that color is so that I can use
> >SET_ITEM_PROPERTY to specify BACKGROUND_COLOR to be that value. I know
> >how to use SET_ITEM_PROPERTY to set a specific color, I just don't know
> >how to find the current window color.
> >
> >Is this possible? Is there somewhere else to find this information? Is
> >there some other way to do this?
> >
> >Any help would be appreciated.
> >
> Obviously you need to use the Winblows API to find out the color.
> Hence, this is not an Oracle issue, and you should try to find
> assistance on Microsoft literature or Microsoft newsgroups.
>
> Hth
>
> Sybrand Bakker, Senior Oracle DBA
>
> To reply remove -verwijderdit from my e-mail address

Thanks for the help. That may be the solution for MS Windows and I will check into it.

However, looking back at my posts, my thinking and the question were too narrow. We are in the early stages of investigating converting our client server Oracle Forms application to run as a web application. In that case it will probably be running on a Unix server. But that's probably irrelevant because JInitiator is used to create the display for the web app. I think I need a solution that is platform independent, which, to me, seems like it would have to be controlled in the forms. I know there are "lookAndFeel" and "colorScheme" settings that can be specified when the forms are invoked from the html file, so Oracle Forms (JInitiator?) is controlling the appearance. Something has to know the colors that are being used. What I need is a way to access that information, regardless of platform.

Obviously, my knowledge of how this works is minimal. Any suggestions or references to some documentation on the subject would be welcome.

Rick Received on Tue Apr 16 2002 - 17:06:10 CEST

Original text of this message