Using accelerator keys in a top-level menu item  Emulator issues

Release Bulletin PocketBuilder™ 2.0

Disabling menu bar items on Windows CE devices

Clearing the Enabled check box of a menu bar item in an application that you deploy to a Windows CE device or emulator does not disable the menu item at runtime. You can disable the menu bar item at runtime only by modifying the Enabled property in PowerScript. For example, if you have a Rows menu bar item, you can disable the Rows>Insert, Rows>Update, and Rows>Delete menu items simply by setting the Enabled property as follows:

m_mymenu.m_rows.enabled = false

For a submenu item, clearing the Enabled check box in the Menu painter does disable the submenu item at runtime, even on Windows CE platforms. [CR 321150]





Copyright © 2004. Sybase Inc. All rights reserved. Emulator issues

View this release bulletin as PDF