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 / December 2005

Tip: Looking for answers? Try searching our database.

custom button in toolbar with rules from default button

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mancha - 21 Dec 2005 15:04 GMT
Can I add a rule of a default button in form in manifest.xsf in a
custom toolbar button?

When I copy a rule from default button in form to a custom toolbar
button I get an error. InfoPath doesn't opened.
I need a rule in a custom toolbar button.

My modified manifest.xsf:

<xsf:toolbar caption="MyCaption" name="myToolbar">
<xsf:button name="btnCancel" caption="Cancel" icon="106">
<xsf:ruleSetAction ruleSet="ruleSet_9"></xsf:ruleSetAction>
</xsf:button>
</xsf:toolbar>

<xsf:unboundControls>
<xsf:button name="btnTestClose">
<xsf:ruleSetAction ruleSet="ruleSet_9"></xsf:ruleSetAction>
</xsf:button>
</xsf:unboundControls>
Greg Collins [InfoPath MVP] - 24 Dec 2005 00:41 GMT
You can't use rules with toolbar buttons, you can however hook the button up to code.

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

Can I add a rule of a default button in form in manifest.xsf in a
custom toolbar button?

When I copy a rule from default button in form to a custom toolbar
button I get an error. InfoPath doesn't opened.
I need a rule in a custom toolbar button.

My modified manifest.xsf:

<xsf:toolbar caption="MyCaption" name="myToolbar">
<xsf:button name="btnCancel" caption="Cancel" icon="106">
<xsf:ruleSetAction ruleSet="ruleSet_9"></xsf:ruleSetAction>
</xsf:button>
</xsf:toolbar>

<xsf:unboundControls>
<xsf:button name="btnTestClose">
<xsf:ruleSetAction ruleSet="ruleSet_9"></xsf:ruleSetAction>
</xsf:button>
</xsf:unboundControls>
 
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.