×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    25

    Question [moved] how to disable a item in menu

    Hi.
    i have a menu like this:

    1-new
    2-about
    3-exit

    i wanna disable "2-about".
    its means color of this item must be gray and if user wanna select it,jump it,and goes to "3-exit" item.
    how?
    i Share,U Share,V Learn

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: [moved] how to disable a item in menu

    Using LCDUI, there is no way to do this, other than to implement your own list, using a Canvas. I'm not sure if such a feature might be available in some third-party UI library.

    To some extent, this kind of concept, while common on desktop UIs, is frowned upon on for mobile UIs. With limited screen space, many people suggest that it is a waste of a limited resource to have a UI component that the user cannot use. You might be better simply to remove the item you don't want, rather than to disable it. If it doesn't do anything, why have it?

    Graham.

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: [moved] how to disable a item in menu

    Quote Originally Posted by dr_jacky_2005 View Post
    Hi.
    i have a menu like this:

    1-new
    2-about
    3-exit

    i wanna disable "2-about".
    its means color of this item must be gray and if user wanna select it,jump it,and goes to "3-exit" item.
    how?
    This and other kind of customized GUI can be develop using the Java ME's Canvas but you need to do all the code base and customization. You need to keep the porting of the app also in mind, which will need the rewritten the code upto some extent. I will recommend you to use any other third party GUI libraries like LWUIT where you can also mark the items un selectable if not required.

    However Graham's suggestion is also worthy to follow.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. [moved] Can i insert a menu item in the write sms?
    By indra.kumar@yahoo.co.in in forum General Development Questions
    Replies: 1
    Last Post: 2009-07-06, 16:12
  2. How disable our Application's icon in to phone menu
    By Tanya in forum Symbian User Interface
    Replies: 9
    Last Post: 2007-08-09, 16:51
  3. Replies: 5
    Last Post: 2005-01-09, 18:08
  4. How can I disable a menu item?
    By ashbhatia in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-10-07, 16:24
  5. How to add a menu item in the Options menu of a Nokia 7650 ?
    By nmittal in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-08-07, 08:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •