How to get the panels randomize?

ray_jenny1810

Member
Joined
Jan 17, 2010
Messages
9
Programming Experience
Beginner
can anyone help me how to randomize the panels?


and if the panel reached about 5 randomizing, it will stop randomize..


thanks.
 
What exactly does "randomize the panels" mean? Arae you talking about size? location? which one is displayed? z-order? something else?

Please provide a FULL and CLEAR description of the problem when posting. Such vague questions require us to guess and make assumptions. If they are invalid then everyone's time is wasted. We don't know what's in your head, only what you tell us, so you have to tell us everything that's relevant.
 
ok.. im sorry about that.. anyway, these are the questions i want to make it clear to my mind..


[1] randomize panel - every panel should be randomize if the user clicks the button

[2] randomize question with choices provided - i want to know how to program a randomize question and its choices will be on the radio button format.

is there anyway to perform these?
 
Saying that "randomize panel" means "every panel should be randomize" is of no use. It means exactly the same thing: nothing. I explained what we needed: what EXACTLY do you want to randomise? Please don;t say that you want to randomise the panels again. Do you want to display all the Panels and display them in some random order? Do you want to pick one Panel at random and display just it? Do you want to make the Panels a random size? Do you want something else? Please explain FULLY and CLEARLY.

I don't really know exactly what you mean by the second question either. Are you saying that you want to pick a question at random from a list? Are you saying that you want to display the answers for a question in random order? Are you saying something else. I understand that English is not everyone's first language but you can do better. If it takes more words to explain then so be it. Provide an example if you have to.

Regardless of any of that, whenever you want to do anything random, it usually means creating a Random object, calling a method on that object to get a random number, then using that random number in whatever way is appropriate, e.g. as an index into an array or collection. If you search the web for the Random class you'll almost certainly find examples, including the one I provide din your other thread.
 
Back
Top