By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,797 Members | 1,794 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,797 IT Pros & Developers. It's quick & easy.

random style, size!

P: 5
hi i need help to be able 2 click on a radiobutton 2 change the word 2 a random style(Bold, Itelic, Underline) and random size plz paste an example tell me how 2 generate the randoms plz :P TA
Feb 23 '07 #1
Share this Question
Share on Google+
1 Reply


sicarie
Expert Mod 2.5K+
P: 4,677
hi i need help to be able 2 click on a radiobutton 2 change the word 2 a random style(Bold, Itelic, Underline) and random size plz paste an example tell me how 2 generate the randoms plz :P TA
You would get a random number, and then use whichever method you are most comfortable with (most people use modulus, I believe) to have that number return a random in the range of how many options you have (looks like three for the first, and then however many sizes you have for the second).
Feb 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.