I add a submit button to a pdf like this:

                button1 = New PushbuttonField(stamper.Writer(), New
Rectangle(0, pageSize.Height - 20, 50, pageSize.Height), "Button_Save" &
i.ToString)
                button1.Text = "Save"
                button1.BorderColor =
iTextSharp.text.pdf.ExtendedColor.BLACK
                button1.BorderWidth = 1
                button1.BorderStyle = 2 'beveled
                'button1.BackgroundColor = New GrayColor(0.7F)
                button1.BackgroundColor =
iTextSharp.text.pdf.ExtendedColor.BLUE
                button1.TextColor = iTextSharp.text.pdf.ExtendedColor.WHITE
                button1.FontSize = 10
                button1.Visibility =
PushbuttonField.VISIBLE_BUT_DOES_NOT_PRINT
                button1.Rotation = pageRotation
                submit1 = button1.Field
                submit1.Action = PdfAction.CreateSubmitForm(submitURL &
"PDFReturn.aspx" & submitData, Nothing, PdfAction.SUBMIT_HTML_FORMAT Or
PdfAction.SUBMIT_COORDINATES)


This works fine, but there is a several second delay after the user click
the button, so I want to change the mouse cursor to an hourglass (or
something) to indicate that the clcik is being processed.

Can this be done?

thx
kpg

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Change-to-Wait-Cursor-on-PDF-Button-Click-tp4237231p4237231.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to