Custom Controls in 07

S

Steve

I am tyring to create the first of several custom controls I need for my
Infopath 2007 forms. I have a Masked edit control created in VS 2005 and
written in C#. I can get my control to appear in Infopath as a Custom
Control and it seems to work in Preview.

I cannot figure out how to expose the Mask property so that it can be set
in Infopath like other control properties. It would be great if the
property could be set from the control's right click property dialog but a
code-only solution would be adequate as well.

If there is another news group that might be more appropriate for this
question then please let me know, other wise thanks in advance for your
time.
 
F

Frank Mueller \(MSFT\)

Hi Steve,

I am assuming you are talking about exposing the control properties in the
InfoPath designer. If that's not correct let me know. To do so you have to
implement a property page for your control (see IPropertyPage and
IPropertyPageImpl on MSDN). InfoPath will show these pages (you can have
more than one) as a tab when you look at the control properties in the
designer.

Hope this helps.
Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top