Hi,
How can can i open a popup window when I click
a button from infopath form and also i have to pass a parameter to
that popup window.
I tried in follwoing way.but i dont know how to pass parameter.
MyForm form;
try {
form = new MyForm();
form.Show();
}
finally {
form.Hide();
}
Can any body help me.
Thanks.
wandasoozq - 31 Jan 2007 16:55 GMT
I have the same problem! I need to open a new form, passing a parameter
value to it. All of the documentation is unclear about how best to do this.
It seems like such a common thing, you would think it would be crystal-clear.
Thanks for asking this question!
wandasoozq
> Hi,
>
[quoted text clipped - 19 lines]
> Can any body help me.
> Thanks.
S.Y.M. Wong-A-Ton - 01 Feb 2007 08:54 GMT
If you created your own Form class, you can add a get/set property to it so
that you can set this property before opening the form, like in
form = new MyForm();
form.myProperty = Value;
form.Show();
If you want to do it quick and dirty, you can also use a public member
variable within your Form class.
---
S.Y.M. Wong-A-Ton
> Hi,
>
[quoted text clipped - 19 lines]
> Can any body help me.
> Thanks.