On Oct 24, 2006, at 11:09 AM, Lars Jensen wrote:
I have discovered something about menuIems that I think is a bug, but wanted to hear what RS had to say before filing it. Let's say you have a menu item called UntitledItem. This expression won't compile: UntitledItem isA UntitledItem The compiler complains that UntitledItem is not the name of a class. However, if you make UntitledItem a menu array by giving it an index of 0, then this expression will compile: UntitledItem(0) isA UntitledItem However, it returns false. This behavior is not what I expect, given that the first expression works just fine for other object types, and the second returns true for Controls (and Windows, except that you can't have Window arrays).
When you create a menu item in the IDE, are you creating a subclass of MenuItem? If so, then what you observe would be a bug.
Charles Yeomans _______________________________________________ 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>
