Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2008

Tip: Looking for answers? Try searching our database.

Custom Controls in 07

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 06 Feb 2008 20:37 GMT
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.
Frank Mueller (MSFT) - 07 Feb 2008 01:39 GMT
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

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.

>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
[quoted text clipped - 9 lines]
> question then please let me know, other wise thanks in advance for your
> time.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.