Visible property for menus

Discussion in 'Basic4ppc Wishlist' started by alfcen, Nov 11, 2007.

  1. alfcen

    alfcen Well-Known Member Licensed User

    Visible property for menu items.
    Reason being, setting the enabled property to false grays them out but they are still there. Functions native to the Pocket PC won't work on the desktop. To minimize user confusion, I believe

    If cPPC Then menuitem.visible = true

    would be the optimum alternative.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    For now you can use:
    Code:
    MenuItem.Text = ""
    MenuItem.Enabled = false
    MenuItem must be the rightmost item.
     
  3. alfcen

    alfcen Well-Known Member Licensed User

    Thank you, Erel
    A narrow clickable area remains, nevertheless, it's a workaround for the time being. Perhaps we will find the visible property in version 6 :)
     
Loading...