On Jul 23, 2006, at 9:15 AM, Karen wrote:

In the release notes for R3 it says:

[New] [All] MenuItem: Added Icon As Picture property to the MenuItem
            class.  Use this to assign individual pictures to the menu
            item.  Note the default sizes for each platform, since
            REALbasic will not resize the icons for you.

However there is NOTHING about this about this in the MenuItem entry in the language reference and the release note leaves a lot unsaid.

It's quite simple:

MenuItem.Icon= [your picture]. Drag it into the project tab at the correct size as Rb will not scale it for you.

What are the default sizes for each platform?

I would start with 16 X 16 Pixels and go from there.

Are there any requirements for the type of picture are RB drawn graphics OK or does it need to a certain platform dependent format loaded from a file (like bmp in Windows)?

I think its requirements are the same as the Picture and Graphics classes.

Terry

_______________________________________________
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>

Reply via email to