Re: UI merging problem?



On Saturday, June 2, 2001, at 12:38  PM, Archit Baweja wrote:

This is obviously defined in XML. Now my component adds the menuitem
"New Game" under the Game menu. But when the control is merged and so is its menus, the "New Game" item appears beneath Exit. I want it to appear above
the seperator. How do go about achieving this?

The key is placeholders. Rather than merging into the Game menu, you should merge into a placeholder in the Game menu at the right location. The empty placeholder is defined in the main program's UI definition file, and then the same placeholder is redefined in the component, only now it contains the New Game menu item.

    -- Darin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]