menu items question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dawn

    #1

    menu items question

    Hi,

    I'd like to know how to make some options (like Save, Open...) appear in
    gray and not-clickable in a menu when certain conditions apply. Subsequently
    I want to disable the shortcuts to those items under those conditions.
    How do I go about this?

    Thanks.


  • Mickey Williams

    #2
    Re: menu items question

    Handle the Popup event for the containing menu. When you receive the event,
    disable/enable the menu items appropriately.

    --
    Mickey Williams
    Author, "Microsoft Visual C# .NET Core Reference", MS Press



    "dawn" <dawn4715@hotma il.com> wrote in message
    news:AEdsb.1885 9$ZJ5.576570@ph obos.telenet-ops.be...[color=blue]
    > Hi,
    >
    > I'd like to know how to make some options (like Save, Open...) appear in
    > gray and not-clickable in a menu when certain conditions apply.[/color]
    Subsequently[color=blue]
    > I want to disable the shortcuts to those items under those conditions.
    > How do I go about this?
    >
    > Thanks.
    >
    >[/color]


    Comment

    Working...