Best way to create indicators vertically stacked?

Hello all.

I need to create, at runtime, a number of icons and text used to indicate status. When the status changes, the icon and/or the text needs to be updated too. What is the best method to accomplish this?

Thank you,
Tim

How complicated do you want to make this?

if status = 1 then icon = "status1" text = "blabla" elseif status = 2 icon = "status2" text = "something else" end if icon.refresh

If this is not sufficient we need more info.