<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Textfield</title><link>https://sourceforge.net/p/yoshi/wiki/Textfield/</link><description>Recent changes to Textfield</description><atom:link href="https://sourceforge.net/p/yoshi/wiki/Textfield/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 24 Aug 2023 19:00:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/yoshi/wiki/Textfield/feed" rel="self" type="application/rss+xml"/><item><title>Textfield modified by Jim Saxton</title><link>https://sourceforge.net/p/yoshi/wiki/Textfield/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="text-entry"&gt;Text Entry&lt;/h1&gt;
&lt;p&gt;The textfield type is used to prompt for and enter text.&lt;/p&gt;
&lt;h3 id="textfield"&gt;textfield&lt;/h3&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;tx&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;type&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;textfield&lt;/span&gt;
&lt;span class="n"&gt;tx&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Name&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="c1"&gt;# tx.default = your name&lt;/span&gt;
&lt;span class="c1"&gt;#tx.width = 20&lt;/span&gt;
&lt;span class="c1"&gt;#tx.tooltip = Please enter your name here.&lt;/span&gt;
&lt;span class="c1"&gt;#tx.single = true&lt;/span&gt;
&lt;span class="c1"&gt;#tx.align = left&lt;/span&gt;
&lt;span class="c1"&gt;#tx.mandatory = true&lt;/span&gt;
&lt;span class="c1"&gt;#tx.ispassword = true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;img alt="textfield widget" rel="nofollow" src="https://raw.githubusercontent.com/bbjimmy/Yoshi/master/images/textfield.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A text entry field&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;.label The prompt for the user that identfies what information is being requested.&lt;/p&gt;
&lt;p&gt;.default Default is used to pre load text into the textfield. &lt;/p&gt;
&lt;p&gt;.width This setting will change the number characters the textfield can return. The default length is 35&lt;/p&gt;
&lt;p&gt;.tooltip Set a tooltip for the textfield.&lt;/p&gt;
&lt;p&gt;.single Display the label and entry field on a single line.&lt;/p&gt;
&lt;p&gt;&lt;img alt="textfield widget" rel="nofollow" src="https://raw.githubusercontent.com/bbjimmy/Yoshi/master/images/textfield1.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A text entry field  on one line&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;.align aligns the widget. default is center, align can be changed to left or right. .align only has an efect if .single = true.&lt;/p&gt;
&lt;p&gt;.mandatory Sets the manditory flag. The text field must have some entry for the default button to be active.&lt;/p&gt;
&lt;p&gt;&lt;img alt="textfield widget" rel="nofollow" src="https://raw.githubusercontent.com/bbjimmy/Yoshi/master/images/textfield2.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A single line manditory text entry field aligned to the right&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;.ispassword Sets the textfield to act as a password entry field. It hides whatever is typed into the field and one cannot copy or drag text from the  textfield. &lt;/p&gt;
&lt;p&gt;&lt;img alt="textfield widget" rel="nofollow" src="https://raw.githubusercontent.com/bbjimmy/Yoshi/master/images/textfield3.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A password text entry field&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://github.com/bbjimmy/Yoshi/wiki/Buttons" rel="nofollow"&gt;Back&lt;/a&gt;    &lt;a class="" href="https://github.com/bbjimmy/Yoshi/wiki/Text" rel="nofollow"&gt;Next&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Saxton</dc:creator><pubDate>Thu, 24 Aug 2023 19:00:37 -0000</pubDate><guid>https://sourceforge.net0c10db0fdab7909b718ed87adbfb773a1ff9bb43</guid></item></channel></rss>