PDA

View Full Version : Dynamic Text Boxes from Functions


thawki
10-17-2002, 07:30 PM
I have a combobox component successfully filling in a dynamic text box with the variable (AwardDet)

I would like to populate the text box via my buttons so I put this text on the buttons and it fills it in.

on (press) {
_root.DetailsText._alpha= 100;
_root.cb_AwardDrop.setSelectedIndex(1);
_root.cb_AwardDrop.setChangeHandler(getAwardDetail s);
}

thawki
10-17-2002, 07:35 PM
Anyway, that code does populate the box and fill in my variable, but if I press a different button with the same code but different index, nothing happens.

Do I need to unload the variable somehow?

Thanks.

Tim