QUOTE(sierra @ 9 Mar, 2007 - 11:04 PM)

I'm not looking for anyone to hand me the coding, but if someone could just start me off in the right direction, I would appreciate it.
Very beginner stuff..
I have 10 check boxes, each with the name of a different color (shirts). If the user selects one box, the total price should show up in a box as $5.00. If they select two checkboxes, the price (of two shirts) should read $9.00.
I'm stuck on how I would go about adding checkboxes together. Can anyone help me? I don't have any coding so far for that part of the program.. I'm not sure where to even begin.

edit: modified title ~ jayman9
You cam make an event based solution, something like:
CODE
private changevalue(a as object, b as error) handles checkbox1.checked, checkbox2.checked, checkbox3.checked 'and on, ...
const MyDiscount as float=0.9F
const TshirtPrice as float=5.0F
dim total as integer=0
if checkbox0.checked=true then total+=1
if checkbox1.checked=true then total+=1
if checkbox2.checked=true then total+=1
if checkbox3.checked=true then total+=1
if checkbox4.checked=true then total+=1
if checkbox5.checked=true then total+=1
if checkbox6.checked=true then total+=1
if checkbox7.checked=true then total+=1
if checkbox8.checked=true then total+=1
if checkbox8.checked=true then total+=1
price.txt=FormatCurrency(total*TshirtPrice*iif(total>1,MyDiscount^(total-1),1))
end sub