Color theme by shortcut

Started by Candy M., February 13, 2008, 12:27:45 AM

Previous topic - Next topic

Candy M.

Is it possible to associate a color theme by shortcut in the GDC?

The user can run our MRP application for different companies using
a different shortcut, and they would like to associate a color theme
per company.

Rather than trying to do in BDL (which I'm not sure it is possible to do),
I thought it would be nice to do it under the GDC.

Thanks,
Candy McCall
ONLINE Computing, Inc.

Lionel F.

Hello Candy,

I'm not sure to clearly understand what you're trying to achieve.

What do you mean by "color theme"?  Does this concern the application itself ? (e.g. the background color, the color of the titlebar...)

Thank you,
Best regards.

Candy M.

This would be the color in the title bar.  Like for Windows XP, the
default color is blue.

A user may be in more than one company at a time, so if they see a different
color in the title bar, then they can tell quickly which company a window
belongs to.

I did not see a way to change the title bar color in BDL.  Is there a way
in the styles file or with a command?

Lionel F.

Hello Candy,

You're right, for now there is no way to change the color of the titlebar. I filled a new feature request in our database :
fz.#2466 => Changing the color of the titlebar

Your name has been added to the list of requesters. At this time, there is not yet a date planned for implementation.

Anyway, thank you for the suggestion,

Best regards,
Lionel

.

Candy,

I tried to do what you are trying to achieve when I first got my hands on Genero many years ago. 

This was for at various times to differentiate between live and test, between many sites in a development environment, or for users running two or more companies, or in two or more countries.  Alternatives we came up with included...

using ui.Interface.setImage to change the GDC logo
using presentation styles to change the background colours of the window i.e grey for New Zealand, yellow for Australia
using ui.Interface.setName or ui.Interface.setText

but what we ran with was changing the text attribute of the Windows node, ui.Window.setText to provide the user with the info as to what environment they were running

Hope that helps,

Reuben

Jeff W.

I noticed a request date of 2/2008 for feature #2466.  Was this feature ever implemented?

Lionel F.

Hi Jeff,

GDC follows the style that is defined by the Operating System. Implementing such a feature would force us to break this system style.
For instance, on Windows 7, windows have by default transparent title bars (see the attached screenshot). Imagine you set (via a Genero style) the title bar of your application to "red": it would entirely go against the system style and it would probably look like something very ugly.
So for now it has been decided to remain in-phase with system settings and to not allow such a customization.

Best regards,
Lionel