<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: [C#] getting control properties</title><link>https://www.infopathdev.com:443/forums/thread/57332.aspx</link><pubDate>Mon, 26 Jul 2010 10:45:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57332</guid><dc:creator>vahooz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57332.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57332</wfw:commentRss><description>any feedback? :-)</description></item><item><title>Re: [C#] getting control properties</title><link>https://www.infopathdev.com:443/forums/thread/57129.aspx</link><pubDate>Tue, 20 Jul 2010 19:34:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57129</guid><dc:creator>vahooz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57129</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Jimmy:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;There simply is no way to directly access a form&amp;#39;s controls or the controls&amp;#39; properties from the form&amp;#39;s code behind.&amp;nbsp; I suppose you could access the form&amp;#39;s XSL and find out some information about the controls that way, but that would be far too complex to be worth your time.&lt;/p&gt;
&lt;p&gt;Would you mind sharing what it is you are trying to accomplish?&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt; Hi Jimmy.&lt;br /&gt;Many thanks for fast response :-) &lt;br /&gt;I&amp;#39;m trying to make a form for entering information by user in two columns. The documents form height is static. I need to know what is the height of the textbox to see if it has already exceeded form and if so, finish typing in the first column and automatically unlock the second collumn (where is a next hidden textbox). &lt;br /&gt;&lt;br /&gt;I wrote a Jquery script to show you what effect I would like to have using infopath: &lt;a href="http://c4.livenet.pl/sample1.php"&gt;http://c4.livenet.pl/sample1.php&lt;/a&gt;&lt;br /&gt;Just type in the first texarea sample text (mode than 50 chars or just 20 enters :-) ) until you will see 3 texareas on the screen. - then you see exactly what I mean. &lt;br /&gt;&lt;br /&gt;Regards. Robert.&lt;/p&gt;
&lt;p&gt;P.S:: I just realized that my sample script does not work in IE :D, so below screenshoots:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://robertwachowiak.pl/js/1.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://robertwachowiak.pl/js/2.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://robertwachowiak.pl/js/3.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: [C#] getting control properties</title><link>https://www.infopathdev.com:443/forums/thread/57123.aspx</link><pubDate>Tue, 20 Jul 2010 15:34:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57123</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57123.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57123</wfw:commentRss><description>&lt;p&gt;There simply is no way to directly access a form&amp;#39;s controls or the controls&amp;#39; properties from the form&amp;#39;s code behind.&amp;nbsp; I suppose you could access the form&amp;#39;s XSL and find out some information about the controls that way, but that would be far too complex to be worth your time.&lt;/p&gt;
&lt;p&gt;Would you mind sharing what it is you are trying to accomplish?&lt;/p&gt;</description></item><item><title>[C#] getting control properties</title><link>https://www.infopathdev.com:443/forums/thread/57119.aspx</link><pubDate>Tue, 20 Jul 2010 15:07:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57119</guid><dc:creator>vahooz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57119.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57119</wfw:commentRss><description>Dear members,

first of all &amp;#39;Hello to everyone!&amp;#39; - I&amp;#39;m newbie on forum :-)
I would like to ask you for advice.
Could you tell me how to get width or height property of controls (ex. textbox) using C#?
I&amp;#39;ve tried everything but from MSDN library references
but it does not work.
I&amp;#39;m using infopath 2007 and visual studio 2005.

Best regards.
Rob</description></item></channel></rss>