Board index » delphi » ActionBars (full message)

ActionBars (full message)


2003-08-07 06:58:48 AM
delphi210
Sorry, I forgot half of the message!! :-O
I'm new to ActionBars, and I would like to use them
in our project in the near future. But after playing
a bit with them (both in Delphi 6 and 7) I have some
doubts. Our application runs mainly based on Terminal
Server, so nowadays we're limited to 256 colors (ok,
with w2003 you can go further but is not our main target
yet).
The main feature I like is the possibility to be configured
at run time (we'd like the user to customize the environment),
and I found that is one of the strenghts of action bars, isn't it?
Well, I tried ActionMenuBars in Delphi 7 and run the app
at 256 colors and... the menu renders really ugly. I mean,
is not like the old menus that displayed correctly on every
resolution (nor like MS Office menus).
Is there a way to solve this??
And also a second question: can you place icons bigger than
32 pixels on toolbars??
Thanks in advance
pablo
 
 

Re:ActionBars (full message)

Quote
Well, I tried ActionMenuBars in Delphi 7 and run the app
at 256 colors and... the menu renders really ugly. I mean,
is not like the old menus that displayed correctly on every
resolution (nor like MS Office menus).
Yes, in Delphi 7 use a colormap component and set the colors to use only colors
from the 256 color palette. The effect your seeing is that the colors are
being dithered and thus they won't look very good. This is not an issue with
ActionBands but rather a issue with the colors you're trying to use.
Quote
And also a second question: can you place icons bigger than
32 pixels on toolbars??
That might be possible although I can not say it is ever been tested.
--
-Steve
Delphi/C# Builder R&D
Borland Software Corporation
Please, no private email, unless specifically invited in this message, thank
you.
My website: www.geocities.com/delphihelp
Save time search groups.google.com first.
How To Ask Questions The Smart Way:
tinyurl.com/7r35
 

Re:ActionBars (full message)

Quote
Yes, in Delphi 7 use a colormap component and set the colors to use only colors
from the 256 color palette. The effect your seeing is that the colors are
being dithered and thus they won't look very good. This is not an issue with
ActionBands but rather a issue with the colors you're trying to use.
Ok, thanks. I tried with different colors and it seems to look much
nicer :-)
Can I also customize the menu's shadow color??
 

Re:ActionBars (full message)

Quote
Ok, thanks. I tried with different colors and it seems to look much
nicer :-)
Great.
Quote
Can I also customize the menu's shadow color??
The problem with shadows is that with only 256 colors there isn't likely to
be enough colors to render a decent looking shadow. The code for the
shadows is in the ShadowWnd.pas unit and you could certainly experiment but
personally, I probably wouldn't spend a lot of time on it.
--
-Steve
Delphi/C# Builder R&D
Borland Software Corporation
Please, no private email, unless specifically invited in this message, thank
you.
My website: www.geocities.com/delphihelp
Save time search groups.google.com first.
How To Ask Questions The Smart Way:
tinyurl.com/7r35