Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RESET COMBO BOX 1

Status
Not open for further replies.

paola13

Technical User
Oct 22, 2001
36
IT
i MAde a form in Flash Mx.
I would like the reset button put the initial item display in the combo box

on (release) {
sender_nome= "";
sender_cognome = "";
sender_email = "";
fax = "";
tel = "";
message = "";
sender_indirizzo = "";
sender_compagnia = "";
sender_ruolo = "";
sender_eta = "";
_root.modulo.visita_cb.setValue(false);
_root.modulo.norma_cb.setValue(false);
}

This script reset also check box.... i try everything to reset combo but nothing. Please help me
 
What's the initial item display in the combobox?

Can you post a link to your .fla? Regards,

oldman3.gif
 
sorry...I just see now your post. I can just send to you my fla if you want.....
The initial item (exactly label) is empty....
Would you like me to send you my fla?
 
I can have a look at it... But no promises!
Hit my handle for my address. Regards,

oldman3.gif
 
I sent the fla. It is strange because the form is inside a mc... I know thwre is no reason for this...
I am thinking, could I take the value empty of the combo box, trought the txt field that give the selected item to the php file? I do the reverse path... do you anderstand my bad english?
Thanks so much for your kindness!
 
Add these bold lines to your on(release) script:

on (release) {
sender_nome= "";
sender_cognome = "";
sender_email = "";
fax = "";
tel = "";
message = "";
sender_indirizzo = "";
sender_compagnia = "";
sender_ruolo = "";
sender_eta = "";
_root.modulo.visita_cb.setValue(false);
_root.modulo.norma_cb.setValue(false);

_root.modulo.settore_cb.setSelectedIndex(0);
Selection.setFocus(ord[k]);

}
Regards,

oldman3.gif
 
That is to set the cursor in the first entry field. Regards,

oldman3.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top