New topic: MenuItem.Key
<http://forums.realsoftware.com/viewtopic.php?t=27615> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Bessie Post subject: MenuItem.KeyPosted: Sat Apr 18, 2009 5:40 am Joined: Tue Mar 17, 2009 8:53 am Posts: 334 This code fails to compileCode:dim runNow as new MenuItem runNow.text = "&Run Now" runNow.name = "goRunTaskNow" runNow.key = "R" runNow.menuModifier = true The problem lines are the last two. Apparently "This method or property does not exist" - that is, the properties key and menuModifier don't exist. According to the manual (page 442), they should exist. I don't know if it makes any difference, but the code is placed within the ConstructContextMenu event handler of a ListBox. Am I doing something wrong, or is this another missing feature? _________________ No thanks, I don't want to buy any plugins. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
