Hey guys,
We're trying to set some background colors for (custom) menu items over
here, and it's not working. The menuitem gets declared fine and no errors
appear, but the color won't change.
Is it broken or is there a trick to it I'm not seeing? Just curious.
Cheers,
-- Alan
Are you using constants or a number value?
On Thu, Sep 27, 2012 at 3:56 PM, Alan Fregtman alan.fregt...@gmail.comwrote:
Hey guys,
We're trying to set some background colors for (custom) menu items over
here, and it's not working. The menuitem gets declared fine and no errors
appear, but the
Number.
On Thu, Sep 27, 2012 at 5:00 PM, Eric Turman i.anima...@gmail.com wrote:
Are you using constants or a number value?
On Thu, Sep 27, 2012 at 3:56 PM, Alan Fregtman alan.fregt...@gmail.comwrote:
Hey guys,
We're trying to set some background colors for (custom) menu items over
Cool! Thanks. :)
On Thu, Sep 27, 2012 at 5:04 PM, Vladimir Jankijevic
vladi...@elefantstudios.ch wrote:
use it this way:
MENUCOLOR = [134,179,212]
menu = in_ctxt.Source
oItem = menu.AddItem( XX, c.siMenuItemSection )
oItem.SetBackgroundColor( *MENUCOLOR)
oItem =
Thanks Vladimir! and thanks Alan to ask my question ;)!
Finally I found that .AddCommandItem and .AddItem is the same Class but
only AddItem can add colors. I was trying to color the command menu but
he just didnt work. but not errors.
After found that, I tried without list unpack and it is
We have to use 4 ...since the siMenuItemSection constant started to
error out on us.
oItem = oMenu.AddItem( F I L E, 4 )
oItem.SetBackgroundColor(128,192,255)
On Thu, Sep 27, 2012 at 4:37 PM, Miquel Campos miquel.cam...@gmail.comwrote:
Thanks Vladimir! and thanks Alan to ask my
6 matches
Mail list logo