<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Custom Task Pane question</title><link>https://www.infopathdev.com:443/forums/thread/2392.aspx</link><pubDate>Thu, 18 May 2006 07:46:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2392</guid><dc:creator>Taffman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2392.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2392</wfw:commentRss><description>This is perfect, thanks for setting me straight on the syntax. Actual values I ended up using were:&lt;br /&gt;width:110px; height:30px&lt;br /&gt;&lt;br /&gt;I dont want to change the style, just get the submit buttons to appear all the same size.&lt;br /&gt;&lt;br /&gt;Many thanks for your help and patence.</description></item><item><title>Re: Custom Task Pane question</title><link>https://www.infopathdev.com:443/forums/thread/2391.aspx</link><pubDate>Wed, 17 May 2006 17:17:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2391</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2391.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2391</wfw:commentRss><description>Your quotes are in the wrong places on the last two:&lt;br /&gt;&lt;br /&gt;&amp;lt;input type="submit" value="Customer Info" style=" width:120px; height:500px&lt;font size="4"&gt;;"&lt;/font id="size4"&gt; onclick="changeViewCustInfo();"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input type="submit" value="Customer Info" onclick="changeViewCustInfo()&lt;font size="4"&gt;;"&lt;/font id="size4"&gt; style=" width:120px; height:500px;"&amp;gt;&lt;br /&gt;&lt;br /&gt;Check out the following HowTo for adding CSS to custom task panes:&lt;br /&lt;a target="_blank" href=http://infopathdev.com/howto/tutorials/default.aspx?i=a396459320204261ad2379381824683d&gt;http://infopathdev.com/howto/tutorials/default.aspx?i=a396459320204261ad2379381824683d&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm kind of getting the feeling that you want to change the style of the button when it is clicked, but to do this you will have to access the HTML object model from within your changeViewCustInfo() button. Is this what you're trying to do?</description></item><item><title>Re: Custom Task Pane question</title><link>https://www.infopathdev.com:443/forums/thread/2390.aspx</link><pubDate>Wed, 17 May 2006 08:13:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2390</guid><dc:creator>Taffman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2390.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2390</wfw:commentRss><description>Ted was right 5px was to small!&lt;br /&gt;&lt;br /&gt;I increased the width to 100px and I can see the buttons all the same width now however, the buttons no longer work.&lt;br /&gt;&lt;br /&gt;My origional html code is:&lt;br /&gt;&lt;pre&gt;&amp;lt;input type="submit" value="Customer Info" onclick="changeViewCustInfo();"&amp;gt;&lt;/pre&gt;&lt;br /&gt;This works, but the button widths fit the value text.&lt;br /&gt;&lt;br /&gt;Using:&lt;br /&gt;&lt;pre&gt; &amp;lt;input type="submit" value="Customer Info" style=" width:120px; height:500px onclick="changeViewCustInfo();"&amp;gt;&lt;/pre&gt;&lt;br /&gt;My buttons are all 120px wide but the 'onclick' attribute no longer works.&lt;br /&gt;&lt;br /&gt;I tried:&lt;br /&gt;&lt;pre&gt; &amp;lt;input type="submit" value="Customer Info" onclick="changeViewCustInfo() style=" width:120px; height:500px;"&amp;gt;&lt;/pre&gt;&lt;br /&gt;But this produced script errors.&lt;br /&gt;&lt;br /&gt;any ideas?</description></item><item><title>Re: Custom Task Pane question</title><link>https://www.infopathdev.com:443/forums/thread/2389.aspx</link><pubDate>Wed, 17 May 2006 03:34:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2389</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2389.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2389</wfw:commentRss><description>5px was just for example's sake :) Kind of like "Foo Bar"&lt;br /&gt;&lt;br /&gt;Check out this page for full reference on the INPUT element:&lt;a target="_blank" href=http://www.w3.org/TR/html4/interact/forms.html#h-17.4&gt;http://www.w3.org/TR/html4/interact/forms.html#h-17.4&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;I'm not sure if you can use CSS for custom task panes, I'll ask around.</description></item><item><title>Re: Custom Task Pane question</title><link>https://www.infopathdev.com:443/forums/thread/2388.aspx</link><pubDate>Tue, 16 May 2006 20:16:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2388</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2388.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2388</wfw:commentRss><description>Hi guys,&lt;br /&gt;&lt;br /&gt;5px for width of a button is awfully small...I doubt you would be able to see even the first letter of "Hello"!&lt;br /&gt;&lt;br /&gt;Don't know if that is causing some issues with this, but thought I would throw it out there!</description></item><item><title>Re: Custom Task Pane question</title><link>https://www.infopathdev.com:443/forums/thread/2387.aspx</link><pubDate>Tue, 16 May 2006 16:38:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2387</guid><dc:creator>Taffman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2387.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2387</wfw:commentRss><description>Many thanks for this but unfortunatly it didnt work :-(&lt;br /&gt;&lt;br /&gt;If I insert style=" width:5px; height:500px after the value= statement I get a blank html page.&lt;br /&gt;If I add style=" width:5px; height:500px at the end of the line I get errors?&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Custom Task Pane question</title><link>https://www.infopathdev.com:443/forums/thread/2386.aspx</link><pubDate>Tue, 16 May 2006 14:19:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2386</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2386.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2386</wfw:commentRss><description>You should be able to size it with inline CSS if nothing else, check this out:&lt;br /&gt;&lt;br /&gt;&amp;lt;input type="submit" value="Hello" style=" width:5px; height:500px;" /&amp;gt;</description></item><item><title>Custom Task Pane question</title><link>https://www.infopathdev.com:443/forums/thread/1294.aspx</link><pubDate>Tue, 16 May 2006 12:27:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1294</guid><dc:creator>Taffman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1294.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1294</wfw:commentRss><description>This is a bit off topic but I'd appreciate soome help here.&lt;br /&gt;I have created a custom task pane with buttons to switch views "on click"&lt;br /&gt;&lt;br /&gt;Works ok using the html submit feature, only problem is I cant seem to be able to size the submit button. Anyone know if this can be done or is there a better way other than use "Submit"?&lt;br /&gt;&lt;br /&gt;HTML snippet as follows:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;	           &amp;lt;tr&amp;gt;             &lt;br /&gt;                               &amp;lt;td&amp;gt;&lt;br /&gt;                                      &amp;lt;input type="submit" value="Customer Info." onclick="changeViewCustInfo();"&amp;gt;&lt;br /&gt;                              &amp;lt;/td&amp;gt;&lt;br /&gt;	           &amp;lt;tr&amp;gt;&lt;/pre&gt;</description></item></channel></rss>