Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor Hesam's Avatar
    Join Date
    Apr 2009
    Location
    Kuala Lumpur
    Posts
    98
    hi,

    in one part of my program, I need to invisible choice group but I don't know how can I set it as invisible.
    If you know, tell me please.

  2. #2
    Nokia Developer Moderator bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    Do you mean you want it to no longer be shown? How about simply deleting it from the Form then?

  3. #3
    Regular Contributor Hesam's Avatar
    Join Date
    Apr 2009
    Location
    Kuala Lumpur
    Posts
    98
    Quote Originally Posted by bogdan.galiceanu View Post
    Do you mean you want it to no longer be shown? How about simply deleting it from the Form then?
    Thank you dear Bogdan,

    Actually, I don't want to remove it, I want usser can't change it. This choice group show a question and 4 answer. I want after selecting one question by usser, he/she can't change his/her answer.
    In microsoft visual studio C++ or C# or Delphi, we can use visibility method (for example: Chiocegroup.visibility = true or false I want to know how can I use visibility in java.

    Also I have another question. In C we can wite for code as:
    ---------------------
    int i, j;
    for( i=1, j=7; i <= 5, j<=12; i++, j++)
    question[i] = readRecordID(j);
    ---------------------
    but in java when i write this code, ther are some errors are showed to me. why?

  4. #4
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    You could read the selected value when the choice is made, then remove the ChoiceGroup.

    Your "for" loop... the middle term must be a boolean expression.

    Code:
    i <= 5, j <= 12
    This is not a boolean expression. Replace the "," with "&&" or "||".

    (The same is true in C... your C compiler is just ignoring one of these two comparisons.)

    Graham.

Similar Threads

  1. J2ME multiple choicegroup problem
    By lentotski in forum Mobile Java General
    Replies: 2
    Last Post: 2009-06-07, 15:35
  2. ChoiceGroup help
    By jselvakumar26071988 in forum Mobile Java General
    Replies: 1
    Last Post: 2009-01-12, 09:21
  3. Series 80 Choicegroup bug
    By jdiscar in forum Mobile Java Tools & SDKs
    Replies: 9
    Last Post: 2006-09-18, 17:10
  4. ChoiceGroup Command Action HELP
    By cjmarsha in forum Mobile Java General
    Replies: 2
    Last Post: 2005-07-29, 14:44
  5. MIDP 1.0 ChoiceGroup too long !
    By ionutianasi in forum Mobile Java General
    Replies: 2
    Last Post: 2003-08-27, 11:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved