<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Catch Hotkeys or Functionkeys in Infopath 2007?</title><link>https://www.infopathdev.com:443/forums/thread/25749.aspx</link><pubDate>Sat, 19 Jan 2008 00:07:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25749</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25749.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25749</wfw:commentRss><description>&lt;p&gt;You should be able to create new menu items. I don&amp;#39;t have any details to offer you right now... but I&amp;#39;m sure that this topic has been discussed either in these forums or on the Microsoft public newsgroups.&lt;/p&gt;</description></item><item><title>Re: Catch Hotkeys or Functionkeys in Infopath 2007?</title><link>https://www.infopathdev.com:443/forums/thread/25705.aspx</link><pubDate>Wed, 16 Jan 2008 18:26:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25705</guid><dc:creator>wltr-Germany</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25705</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;&lt;span&gt;Hallo,&lt;/span&gt;&lt;/p&gt;



&lt;p class="MsoNormal"&gt;&lt;span&gt;Functionkeys are not allowed in InfoPath 2007. &lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span&gt;Now I plan
a solution with Button-Hotkeys (e.g. “[Alt] v”). &lt;span&gt;&amp;nbsp;&lt;/span&gt;The problem is now, if I press the hotkey &lt;span&gt;&amp;nbsp;&lt;/span&gt;“[Alt] v” &lt;span&gt;&amp;nbsp;&lt;/span&gt;the Button itself is focused, the form is
scrolling to view the button and the actual text field lost focus. Is it
possible to press the hotkey and suppress the focus-setting to the button?&lt;/span&gt;&lt;/p&gt;



&lt;p class="MsoNormal"&gt;&lt;span&gt;Or is it
possible to create a Menu item, which is called by hotkey (e.g. “[Alt] v”)? &lt;span&gt;&amp;nbsp;&lt;/span&gt;(Calling a menu item doesn´t change the actual
field-focus)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;If it is possible, do you have any Sample Code? &lt;/span&gt;&lt;/p&gt;&lt;span&gt;Additional
information: The Application is designed as a local InfoPath-Application.&lt;/span&gt;&lt;span&gt;&lt;/span&gt;

&lt;p class="MsoNormal"&gt;&lt;span&gt;Thank you
so much for your help!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Catch Hotkeys or Functionkeys in Infopath 2007?</title><link>https://www.infopathdev.com:443/forums/thread/25568.aspx</link><pubDate>Thu, 10 Jan 2008 22:21:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25568</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25568.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25568</wfw:commentRss><description>&lt;p&gt;Sure. Hopefully it will be useful.&lt;/p&gt;</description></item><item><title>Re: Catch Hotkeys or Functionkeys in Infopath 2007?</title><link>https://www.infopathdev.com:443/forums/thread/25560.aspx</link><pubDate>Thu, 10 Jan 2008 18:09:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25560</guid><dc:creator>wltr-Germany</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25560.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25560</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you very much for this information!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Catch Hotkeys or Functionkeys in Infopath 2007?</title><link>https://www.infopathdev.com:443/forums/thread/25556.aspx</link><pubDate>Thu, 10 Jan 2008 17:51:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25556</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25556.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25556</wfw:commentRss><description>&lt;p&gt;InfoPath is sandboxed and doesn&amp;#39;t allow such things. However, if you use an HTML task pane, you can catch such events there (but not in the form itself). This probably won&amp;#39;t help much with what you are trying to do though.&lt;/p&gt;
&lt;p&gt;Sorry.&lt;/p&gt;</description></item><item><title>Catch Hotkeys or Functionkeys in Infopath 2007?</title><link>https://www.infopathdev.com:443/forums/thread/25541.aspx</link><pubDate>Thu, 10 Jan 2008 11:44:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25541</guid><dc:creator>wltr-Germany</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25541.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25541</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;Hi,&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;can anyone tell me if it is possible 
to catch a function key event (e.g.&amp;nbsp; F12) or a hotkey event in InfoPath 
2007?&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;In C# &amp;nbsp;Standard-Programming 
(Visual-Studio) you can say:&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;// ============================&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;this.KeyPreview = 
true&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp;this.KeyDown&amp;nbsp; += new 
KeyEventHandler (….)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp; If (e.KeyCode = Keys.F12) 
……&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;


&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;// ============================&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&lt;br /&gt;I need a code-based solution in 
InfoPath 2007 (VSTA)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Thank you so much for your help!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>