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.
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.
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 falseI 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?
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.
This is not a boolean expression. Replace the "," with "&&" or "||".Code:i <= 5, j <= 12
(The same is true in C... your C compiler is just ignoring one of these two comparisons.)
Graham.