hi all,
i'm building a small app with a tree control (SGTObjectList) and a standard file menu. the New menuItem has a key of newKey.
desired behaviour is to have the tree and File|New menuItem to be disabled at application start and then enabled when File|Open is selected. inspector shows that both items are disabled at time of postBuildWith:. they were set to enabled => false in menu editor.
the first line below does enable the tree control but the second does not enable the menu item. inspector shows the menuItem enabled attribute has a value of enabled. inspector also shows it is the correct menuItem.
anybody have an idea why menuItem is not being enabled? am i missing a step?
((builder componentAt:#SGTObjectList)scrolledView) enable.
menuItem := ((builder componentAt: #ToolBar1) menuHolder) atNameKey: #newKey.
menuItem enable.
i'm working with stx 542 on windows xp.
john cummings