Options

Working with MenuButton

itspeteritspeter Member Posts: 105
Hi,

1.) Possible to disable one of the submenu in the menubutton?

2.) Can I cancel the menu clicked by user during runtime?

Thanks.
Regards,
Peter Ng

Comments

  • Options
    KowaKowa Member Posts: 918
    edited 2005-09-26
    Only the controls accessible by name can be enabled or made invisible during runtime, but the menu items cannot.
    It is possible to build up a complete new menu with the reduced items and place the menu buttons on top of each other and then make either one or the other visible during runtime depending on the user ID, but this solution does not comply to the style guide so it should only be used for customization.
    Kai Kowalewski
  • Options
    DenSterDenSter Member Posts: 8,304
    About the cancellation... You can program a menu button to do whatever you want. If you want to have a cancel button during runtime of a transaction, you will need to display a dialog box. A dialog box has a cancel button.
Sign In or Register to comment.