My next complaint about vb.net and vb in general (im really not a fan)
anyway is it possible to make a variable name out of another variable
i have a variable called section which equals MyText
Dim section As String = "mainText"
now i have some variables that i want to change depending on which section is clicked
buuut, if i have a section called subText i want to use the same component boxes (style.Text and weight.Text) to put the data into the right variable
its easy to do with a case statement or if statement
if section = "mainText" then
if section ="subText" then
but i want to do it like this
or something along those lines where the variable i want to change is built up out of the value of section and then the prefix for the variable. Then i wont need a stupidly long case statement.
Any ideas? Im sure you can do this in mighty vb because u can even do it in flash 4
gregoryyoung: editted to remove profanity