Hello,
I am trying to get the current form in order to print it, also the print function is controled by a button on the form.
There could be as many as 8 forms open at once for the user, so I need to find the correct one in order to print it.
I know that I can get the first form opened by this code: XmlForm aForm = this.Application.XmlForms[0].
Therefore I know that I could itterate through the forms this way, the only problem is that I don't know what to compare in order to get the correct form.
Could someone give me any ideas?