By Date: <-- -->
By Thread: <-- -->

how to preselect a combo box item



I'll have to look at the pdf and the values you are setting.

----- Original Message ----- From: "Igor Kostic" <Igor.Kostic (at) oenb.at>
To: <itext-questions (at) lists.sourceforge.net>
Sent: Thursday, February 02, 2006 5:17 PM
Subject: [iText-questions] how to preselect a combo box item



I have a combobox with item/exportValue pairs.
I am trying to preselect an item using:

AcroFields flds = stamp.getAcroFields();
flds.setField(comboBoxName, itemExportValue);
stamp.close();

after opening this document in AR the item seems to be selected, but
actualy is not - if the combobox gets focus, the selection is gone.
Am I doing something wrong?

Thanks,
Igor



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions