realbasic-nug
[Top] [All Lists]

problems with menuitem Icon mask

To: RealBasic Lista <realbasic-nug at lists dot realsoftware dot com>
Subject: problems with menuitem Icon mask
From: José Andrés <joseandres at auyantepui dot com>
Date: Thu, 31 Aug 2006 12:37:42 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hello there

I've a problem when I assign an icon picture to a menuitem.

I compose an image along with his mask, and then I assign this picture to the menuitem icon property.

Code:


Dim p as picture
p = Newpicture(16,16,32)

p.graphics.drawpicture myimage, 0, 0
p.mask.graphics.drawpicture myimagemask, 0, 0

mymenuitem.icon = p


The mask in Windows works perfect but in MacOS is not shown correctly

Is this a bug?
Any help?


Regards, Jose Andres Morey


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • problems with menuitem Icon mask, José Andrés <=