on 06-09-2009 5:44 PM
Hi Experts,
How to clear the current selection of dropdown list? can anyone please help me?
Thanks.
hi Vino,
resetData() might be useful
EX.
Use the resetData method to reset all objects to their default values:
xfa.host.resetData();
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are you trying to do this inside the form? you'll need some event to trigger the clearing of the value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert ,
Thanks for ur reply...yes, I am using the dropdown inside of the subform. I have coded in Exit event using formcalc.
For EX:
if(textfield.rawValue eq null)
then
host.messageBox( "Please enter text field")
//Clear the current dropdown
dropdown.rawValue = " ".
endif.
But it was getting stuck-up.
Thanks.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.