On Sat, 28 Apr 2007 18:06:38 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> > * Howmany glyphs are supposed to be in each image file?
> >
> >   two images (enabled and disabled):
> >       Menu images
> 
> Is there support for two glyphs per menu item?  

Not yet. Does Delphi support it?


> How can I switch from
> a enabled image to a disabled image?

Maybe we can do the same as Delphi or as TSpeedButton.

 
> Currently I have create three sets of images as a trial using the
> following naming scheme.
> 
> Single image (enabled):    menu_save_16.xpm
> Dual image (enabled and disabled):  menu_save_16_dual.xpm
> Single image (disabled):  menu_same_16_d.xpm
> 
> The dual image works fine for TSpeedButton's, but not for TMenuItem's.
> Currently if menu items are disabled, they still show the enabled
> glyph. See the Lazarus Edit menu items for examples of this.  I'm
> using Lazarus compiled with gtk1.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to