<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A Beginner&#039;s Guide to Gambas, Revised for Version 3</title>
	<atom:link href="http://beginnersguidetogambas.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://beginnersguidetogambas.com</link>
	<description>____Support for questions or comments about the book____</description>
	<lastBuildDate>Mon, 10 Jun 2013 00:20:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='beginnersguidetogambas.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/bb4e28fcde585106db10548a02c1d659?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>A Beginner&#039;s Guide to Gambas, Revised for Version 3</title>
		<link>http://beginnersguidetogambas.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://beginnersguidetogambas.com/osd.xml" title="A Beginner&#039;s Guide to Gambas, Revised for Version 3" />
	<atom:link rel='hub' href='http://beginnersguidetogambas.com/?pushpress=hub'/>
		<item>
		<title>Some useful Gambas usages and examples</title>
		<link>http://beginnersguidetogambas.com/2013/02/12/some-useful-gambas-usages-and-examples/</link>
		<comments>http://beginnersguidetogambas.com/2013/02/12/some-useful-gambas-usages-and-examples/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 17:48:18 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>
		<category><![CDATA[Gambas interactive shell]]></category>
		<category><![CDATA[Gambas Key Key.Code]]></category>
		<category><![CDATA[Gambas list array]]></category>
		<category><![CDATA[Gambas pdf]]></category>
		<category><![CDATA[Gambas Shell]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambas.com/?p=128</guid>
		<description><![CDATA[PDF in Gambas &#8212; I review the Search Engine Terms that show up on people&#8217;s searches that bring people to this blog.  One of the terms that shows up frequently is &#8220;Gambas .PDF&#8221;, &#8220;Gambas open .pdf&#8221;, &#8220;Gambas save .pdf&#8221;, or something similar.  For anyone who is interested in interfacing Gambas with .PDF files: You can [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=128&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>PDF in Gambas</strong> &#8212; I review the Search Engine Terms that show up on people&#8217;s searches that bring people to this blog.  One of the terms that shows up frequently is &#8220;Gambas .PDF&#8221;, &#8220;Gambas open .pdf&#8221;, &#8220;Gambas save .pdf&#8221;, or something similar.  For anyone who is interested in interfacing Gambas with .PDF files:</p>
<ul>
<li>You can find information about the gb.pdf component at &#8220;<a href="http://gambasdoc.org/help/comp/gb.pdf?v3&#038;#8243" rel="nofollow">http://gambasdoc.org/help/comp/gb.pdf?v3&#038;#8243</a>;</li>
<li>A &#8220;PDF Printer&#8221; is an included installed printer on every GUI distribution of Linux that I&#8217;m aware of.  If it is not included with your distro, it can easily be installed from the repositories.  An easy way to generate a .pdf file from inside your program is to write a printing routine, and the user can select &#8220;Print to File&#8221;, and select the .PDF file format.  To make it easier, you can link a button control <span style="text-decoration:underline;">directly to your print routine and make the PDF printer the default choice</span>.  You can see an example of this in Download #4 in the Flash Widget &#8212; the  &#8220;Screenshooter&#8221; program includes a pre-selected &#8220;Save as PDF&#8221; print-to-file option.</li>
</ul>
<p><strong>Filling list controls from arrays</strong> &#8212; Just in case anyone has not noticed this, you can assign an array list to a list-based control in Gambas:</p>
<ul>
<li>&#8220;ListBox1.List = strSomeKindOfArray&#8221;</li>
</ul>
<p>That&#8217;s really fast and convenient.  However, you can&#8217;t assign the ListBox1 contents to an array:  &#8220;strSomeKindOfArray = ListBox1.List&#8221; will not work &#8212; and it will <span style="text-decoration:underline;">not</span> give you an error message!  You must use some kind of loop like &#8220;FOR&#8230;NEXT&#8221; to transfer the control list to an array.</p>
<p><strong>Some notes about Key functions: </strong> The Web-based documentation for Gambas is really good (much improved from the past).  But some things need more explanation.  We didn&#8217;t cover everything in detail in our book &#8220;A Beginner&#8217;s Guide to Gambas&#8221;, because &#8230; you know, &#8220;&#8230;<strong>Beginner&#8217;s</strong>&#8230;&#8221;  Here is some clarification about the Key component that might be useful.</p>
<ul>
<li>Using Key.Code &#8212; You can only use Key.Code inside a Sub for a _KeyPress or _KeyRelease event:</li>
</ul>
<p>Public Sub TextBox1_KeyRelease()  <em>&#8216;When TextBox1 has the focus, if you hit Return or Enter, it will be the same as clicking Button1.</em></p>
<p>__If Val(TextBox1.Text) Then   <em>&#8216;If only numerical values have been entered.</em></p>
<p><em>&#8216;Note that the &#8220;Return&#8221; key is the &#8220;enter&#8221; key near the center of a standard desktop PC keyboard, with the &#8220;return&#8221; symbol.</em><br />
<em>&#8216;The &#8220;Enter&#8221; key is the &#8220;enter&#8221; key at the right side of a standard desktop PC keyboard, with the numeric keypad.</em><br />
<em>&#8216;The keys are equivalent in function, but each one returns a different key code.</em><br />
____If Key.Code = Key.Return Or Key.Code = Key.Enter Then<br />
______Button1_Click()  <em>&#8216;Here, we call the Sub Button1_Click as if we actually had a Button_Click event.  It is not necessary for the user to trigger the actual event.</em><br />
____Endif<br />
__Endif<br />
End</p>
<ul>
<li>&#8220;Key.Code&#8221; returns an integer code for each key, and String.Chr or CHR$ converts that integer into a character.  Therefore, to capture the key that was pressed on a keyboard (again, it <span style="text-decoration:underline;">must</span> be inside a Sub for a _KeyPress or _KeyRelease event), you can use this syntax:</li>
</ul>
<p>strChar = String.Chr(Key.Code)</p>
<p><strong>Have radiobuttons with no radiobutton selected: </strong> Unlike CheckBox controls, RadioButton controls automatically de-select the previously selected button, when you click on another RadioButton <span style="text-decoration:underline;">in the same container</span>, but one of them will always be selected.  Have you ever wanted to have <span style="text-decoration:underline;">no</span> RadioButton selected?  You can do that by creating one more RadioButton than you need, and make that RadioButton invisible &#8212; &#8220;RadioButton7.Visible = False&#8221;.  Then, you can open a form with RadioButtons, but you can set the focus to the invisible RadioButton &#8212; &#8220;RadioButton7.SetFocus&#8221;.  In the course of the program, you can use that statement to transfer the selection back to that invisible RadioButton, if you want to.</p>
<p><strong>Shell to multi-line Linux commands, and receive output from interactive Linux commands:</strong>  When you want to use a Linux program and capture its output (like &#8220;ps aux&#8221;), or use the sudo command (which requires that you issue the &#8220;sudo&#8230;&#8221; command, then follow up with a password after you are prompted), the Gambas &#8220;Shell&#8221; function will work fine.</p>
<ul>
<li><em>The Shell statement below allows you to run the Linux commandline program to find running processes, and the TO keyword allows you to capture the output in a string.  You can parse the string with the Split function, etc., display the data in one of the View controls (like ColumnView or GrindView), and analyze the processes &#8212; maybe manage the processes, like killing a process that is hogging too much memory or processor time:  see <a href="http://gambasdoc.org/help/comp/gb/process?v3" rel="nofollow">http://gambasdoc.org/help/comp/gb/process?v3</a> </em></li>
</ul>
<p>Shell &#8220;ps aux&#8221; TO strShellResponseString<em></em></p>
<ul>
<li><em> In the Shell statement below, the -S (stdin) option after &#8220;sudo&#8221; causes sudo to read the password from the standard input instead of the terminal device.  In this case, the standard input reads from your program.  </em><em>The password <span style="text-decoration:underline;">must</span> be followed by a newline character.</em><br />
<em>In total, the construction below is a shell script construction meaning: run the command sequence &#8220;sudo -S chmod 0777 ~/myfilename&#8221;  </em><em>and redirect (&lt;&lt; EOF) the string &#8220;mypassword&#8221; into its standard input after that sequence, until you hit a line with &#8220;EOF&#8221; on it, which signifies the end of input to the interactive shell.</em><br />
<em>The shell will recognize &#8220;\n&#8221; as the newline code &#8212; there must be NO extra spaces before or after &#8220;\n&#8221;, because empty spaces will be interpreted as part of the script or part of the password.</em> <em> The TO keyword will assign the output of this command to your string variable &#8220;strShellResponseString&#8221;, in case you want to display that in your program &#8212; for example, if you input the wrong password, sudo will give you an error message.</em></li>
</ul>
<p>Shell &#8220;sudo -S chmod 0777 ~/myfilename &lt;&lt; EOF\nmypassword\nEOF&#8221; TO strShellResponseString</p>
<p>Just a few interesting Gambas usages that were not obvious from the online documentation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=128&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2013/02/12/some-useful-gambas-usages-and-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
		<item>
		<title>New sample project &#8212; Screenshooter, a full-featured screenshot program</title>
		<link>http://beginnersguidetogambas.com/2013/01/09/new-sample-project-screenshooter-a-full-featured-screenshot-program/</link>
		<comments>http://beginnersguidetogambas.com/2013/01/09/new-sample-project-screenshooter-a-full-featured-screenshot-program/#comments</comments>
		<pubDate>Wed, 09 Jan 2013 18:17:43 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambas.com/?p=124</guid>
		<description><![CDATA[UPDATED 2013/1/10:  I revised the code: 1.  Now the screenshot window will always rise to the top of the stack after the screenshot. 2.  If a target window is partially off of the screen, the program will reposition the window so that a complete screenshot can be made. ************************************************ A third sample program has been [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=124&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>UPDATED 2013/1/10:  I revised the code:</p>
<p>1.  Now the screenshot window will always rise to the top of the stack after the screenshot.</p>
<p>2.  If a target window is partially off of the screen, the program will reposition the window so that a complete screenshot can be made.</p>
<p>************************************************</p>
<p>A third sample program has been added to item #4 in &#8220;Free Downloads Below!&#8221;.  That project is named &#8220;Screenshooter&#8221;.  It is a full-featured screenshot program that makes use of the new features in Gambas3 and the Qt4 toolkit.  &#8220;Screenshooter&#8221; also makes use of the &#8220;Desktop&#8221; component of Gambas3, so that you can access the X11 windows list, and activate a window.  This program offers 3 ways to make screenshots:</p>
<p>1. Use spinboxes to precisely set the X and Y coordinates and the Width and Height of the screenshot area (View Window).  This gives pixel-by-pixel control over the screenshot area.</p>
<p>2.  Use drag-and-drop features of the View Window to position the screenshot area to the proper screenshot geometry.</p>
<p>3.  Make a screenshot of a specific window in the X11 window list, without bothering to set any parameters.</p>
<p>4.  You can print the screenshots to paper, or you can save the screenshots in either .JPG or .PDF format.</p>
<p>NOTE:  I felt that the existing Gambas3 documentation about printing was not very clear, so both &#8220;NorthStar Books&#8221; and &#8220;Screenshooter&#8221; have comments in the Gambas3 code that explain how to set the page parameters for print jobs.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=124&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2013/01/09/new-sample-project-screenshooter-a-full-featured-screenshot-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
		<item>
		<title>New program in &#8220;Free Downloads Below!&#8221;</title>
		<link>http://beginnersguidetogambas.com/2012/08/29/new-program-in-free-downloads-below/</link>
		<comments>http://beginnersguidetogambas.com/2012/08/29/new-program-in-free-downloads-below/#comments</comments>
		<pubDate>Wed, 29 Aug 2012 15:59:56 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambas.com/?p=120</guid>
		<description><![CDATA[Item #4 in &#8220;Free Downloads Below!&#8221; was previously only &#8220;NorthStar_Books&#8221;.  Now, the tar.gz archive includes both &#8220;NorthStar_Books&#8221; and &#8220;CONVERT2&#8243;, a units conversion program.  The units chosen for &#8220;CONVERT2&#8243; are ones that I frequently use, so users will want to revise it for their own needs.  Both of these programs are written in Gambas3. In the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=120&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Item #4 in &#8220;Free Downloads Below!&#8221; was previously only &#8220;NorthStar_Books&#8221;.  Now, the tar.gz archive includes both &#8220;NorthStar_Books&#8221; and &#8220;CONVERT2&#8243;, a units conversion program.  The units chosen for &#8220;CONVERT2&#8243; are ones that I frequently use, so users will want to revise it for their own needs.  Both of these programs are written in Gambas3.</p>
<p>In the near future, another program will be added &#8212; Formul8, a program for rubber chemists/compounders to write and maintain rubber compound formulas.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=120&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2012/08/29/new-program-in-free-downloads-below/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
		<item>
		<title>NorthStar Books &#8212; small business bookkeeping for cash-based accounting</title>
		<link>http://beginnersguidetogambas.com/2012/07/03/northstar-books-small-business-bookkeeping-for-cash-based-accounting/</link>
		<comments>http://beginnersguidetogambas.com/2012/07/03/northstar-books-small-business-bookkeeping-for-cash-based-accounting/#comments</comments>
		<pubDate>Tue, 03 Jul 2012 18:05:09 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambas.com/?p=111</guid>
		<description><![CDATA[Corrections made on 2012/8/29: In Reports.Class: 1.  Add the code block that determines the &#8220;Draw&#8221; that is included in the &#8220;Multi-&#8221; payments.  Without this number, the Profit/Loss statement reported too little &#8220;Total Expenses&#8221;, which caused &#8220;Net Income&#8221; to be too large. In these multi-part payments (usually credit card payments), the &#8220;Draw&#8221; is calculated in the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=111&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><em>Corrections made on 2012/8/29:</em></p>
<p><em>In Reports.Class:</em></p>
<p><em>1.  Add the code block that determines the &#8220;Draw&#8221; that is included in the &#8220;Multi-&#8221; payments.  Without this number, the Profit/Loss statement reported too little &#8220;Total Expenses&#8221;, which caused &#8220;Net Income&#8221; to be too large.</em></p>
<p><em>In these multi-part payments (usually credit card payments), the &#8220;Draw&#8221; is calculated in the main program &#8212; it is not held as data in the sub-payment data file.  This is an advantage because if you modify a sub-payment record, you don&#8217;t need to modify the &#8220;Draw&#8221; part of the record.  However, this calculation was missing from Reports.Class, causing the error on the Profit/Loss report.  This problem is now fixed.</em></p>
<p><em>Corrections made on 2012/7/20:</em></p>
<p><em>In FMain.Class:</em></p>
<p><em>1.  In Public Sub Form_Open(), move the line InfoHandling.LoadAccountsListFile() above the line LoadColumnView1(bReloadTF)</em></p>
<p><em>This allows ComboBox2.Text to show the account of the selected record when the program opens.</em></p>
<p><em>2.  In Public Subs Button6_Click and Button7_Click, change the calls from InfoHandling.WriteFile(bReloadTF) to InfoHandling.WriteMasterFile(bReloadTF)</em></p>
<p>***************************</p>
<p>NorthStar Books:  a sample program, free for your examination or use.  This is a program that I wrote to run my own business bookkeeping.</p>
<p>I have changed the downloads in the Box.com &#8220;flash_widget&#8221;  window to the right.</p>
<ul>
<li>Gambas2 and Gambas3 examples are now contained in a single .tar.gz file, in item #3.</li>
<li>Item #4 is NorthStar Books.  This download contains the Gambas3 source project &#8220;NorthStar_Books&#8221;, some &#8220;fake&#8221; data so that the program can be evaluated, a &#8220;readme&#8221; file, and a folder containing files needed for installation of the executable for this program (if you want to install it).  I recommend just running the project from the Gambas 3 IDE, and you may see things that you may want to change.</li>
</ul>
<p>This project is offered as free software under the GNU GPL Version 3 license.</p>
<p>After downloading, see the file &#8220;README_NorthStar_Books.txt&#8221; to read about how to set up the &#8220;fake&#8221; data files to explore the operations of the program.</p>
<p>Best regards,</p>
<p>MinnesotaJon</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=111&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2012/07/03/northstar-books-small-business-bookkeeping-for-cash-based-accounting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
		<item>
		<title>Having trouble with the Gambas IDE text spacing?</title>
		<link>http://beginnersguidetogambas.com/2012/06/10/106/</link>
		<comments>http://beginnersguidetogambas.com/2012/06/10/106/#comments</comments>
		<pubDate>Mon, 11 Jun 2012 02:50:39 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambas.com/?p=106</guid>
		<description><![CDATA[If you are using XFCE/Xubuntu, you may have a problem with the code editor, where the spacing of the text does not correspond to the cursor position in a line of code.  I had this problem, and I found the solution on this page: The relevant part is: Comment 3 by zachsmit&#8230;@gmail.com, Jan 16, 2012 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=106&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you are using XFCE/Xubuntu, you may have a problem with the code editor,<br />
where the spacing of the text does not correspond to the cursor position<br />
in a line of code.  I had this problem, and I found the solution on <a title="Editing a line changes font spacing" href="http://code.google.com/p/gambas/issues/detail?id=185&amp;can=1&amp;q=code%20editor%20spacing&amp;colspec=ID%20Opened%20Version%20Type%20Status%20Priority%20Summary%20GUI%20Desktop%20Arch%20Dist%20OpSys%20Reporter" target="_blank">this</a> page:</p>
<p>The relevant part is:</p>
<div id="hc3">
<p>Comment <a name="c3" href="http://code.google.com/p/gambas/issues/detail?id=185#c3"></a>3 by <a href="http://code.google.com/u/101240910888354740497/">zachsmit&#8230;@gmail.com</a>, Jan 16, 2012</p>
<pre>I've solved the problem by changing the font hinting in 
Xfce (Settings-&gt; Appearance-&gt; Fonts-&gt; Rendering-&gt; Hinting). 
If anti-aliasing is enabled and hinting is set to 'none or 
'slight' then it causes problems in the Gambas IDE.  
If it is set to 'medium' or 'full' then there is no problem. 
Most running apps are affected immediately by changing 
the hinting but the IDE apparently only uses the 
setting at start up.  Changing the hinting while the 
IDE is running has no effect. It took a while to figure 
it out because among the apps I use, only Gambas 
was affected by this.</pre>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=106&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2012/06/10/106/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
		<item>
		<title>Summary table for common Form Elements</title>
		<link>http://beginnersguidetogambas.com/2012/02/12/summary-table-for-common-form-elements/</link>
		<comments>http://beginnersguidetogambas.com/2012/02/12/summary-table-for-common-form-elements/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 19:51:41 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambas.com/?p=99</guid>
		<description><![CDATA[Because I often forget which control is best for some purpose, I created a table of the Gambas3/Qt4/GTK+ Form Elements and I have added it to the Downloads widget, as download #5.  Everyone should feel free to download this table, modify and translate it, and distribute it. Best regards, minnesotajon<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=99&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Because I often forget which control is best for some purpose, I created a table of the Gambas3/Qt4/GTK+ Form Elements and I have added it to the Downloads widget, as <strong>download #5</strong>.  Everyone should feel free to download this table, modify and translate it, and distribute it.</p>
<p>Best regards, minnesotajon</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=99&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2012/02/12/summary-table-for-common-form-elements/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
		<item>
		<title>Adjustment to code on page 54, for Gambas3 only</title>
		<link>http://beginnersguidetogambas.com/2012/02/10/92/</link>
		<comments>http://beginnersguidetogambas.com/2012/02/10/92/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 23:51:31 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambas.com/?p=92</guid>
		<description><![CDATA[Thanks to &#8220;stanks&#8221;, who downloaded the book, started working with it, and encountered a problem related to a change in Gambas3.  On the web page &#8220;Array Declaration&#8220;, note that &#8220;In Gambas 3, embedded arrays cannot be used as local variables anymore. But they can be public!&#8220; Therefore, on page 54, when you are using Gambas3, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=92&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Thanks to &#8220;stanks&#8221;, who downloaded the book, started working with it, and encountered a problem related to a change in Gambas3.  On the web page &#8220;<a href="http://gambasdoc.org/help/cat/arraydecl?v3" target="_blank">Array Declaration</a>&#8220;, note that &#8220;<strong>In <a href="http://gambasdoc.org/help/def/gambas?v3">Gambas</a> 3, embedded arrays cannot be used as local variables anymore. But they can be public!</strong>&#8220;</p>
<p>Therefore, on page 54, <em>when you are using Gambas3</em>, the code should read:</p>
<p>Public narMatrix[3, 3, 3] As Integer</p>
<p>Public Sub Main()<br />
Dim i As Integer<br />
Dim ii As Integer<br />
Dim iii As Integer<br />
For i = 0 To 2<br />
For ii = 0 To 2<br />
For iii = 0 To 2<br />
Print i, ii, iii &amp; &#8221; ==&gt; &#8220;;  &#8216;note that “;” prevents a newline.<br />
narMatrix[i, ii, iii] = i * 9 + ii * 3 + iii<br />
Print narMatrix[i, ii, iii]<br />
Next<br />
Next<br />
Next<br />
End</p>
<p>If you don&#8217;t make this change, you will get the error message &#8220;<strong>Embedded arrays are forbidden here in MMain.module</strong>&#8220;.</p>
<p>Also, note that declaring the array &#8220;PUBLIC&#8221; means that you don&#8217;t use the keyword DIM &#8212; &#8220;PUBLIC&#8221; automatically does the dimensioning .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=92&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2012/02/10/92/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Gambas3 using Synaptic or Ubuntu Software Center</title>
		<link>http://beginnersguidetogambas.com/2012/02/05/install-gambas3-using-synaptic-or-ubuntu-software-center/</link>
		<comments>http://beginnersguidetogambas.com/2012/02/05/install-gambas3-using-synaptic-or-ubuntu-software-center/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 19:58:35 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>
		<category><![CDATA[gambas3]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[software center]]></category>
		<category><![CDATA[synaptic]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambas.com/?p=84</guid>
		<description><![CDATA[If you are using one of the &#8220;Buntus&#8221; (Ubuntu, Xubuntu, Lubuntu, Edubuntu, etc.), you can add an &#8220;untrusted&#8221; PPA to your Software Sources, in order to download and install Gambas3 using Synaptic or the Ubuntu Software Center. To add the PPA, open your terminal and type this line:  sudo add-apt-repository ppa:nemh/gambas3 After you have added [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=84&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you are using one of the &#8220;Buntus&#8221; (Ubuntu, Xubuntu, Lubuntu, Edubuntu, etc.), you can add an &#8220;untrusted&#8221; PPA to your Software Sources, in order to download and install <strong>Gambas3</strong> using <strong>Synaptic</strong> or the <strong>Ubuntu Software Center</strong>.</p>
<p>To add the PPA, open your terminal and type this line:  <code>sudo add-apt-repository ppa:nemh/gambas3</code></p>
<p>After you have added the PPA, open Synaptic or the Ubuntu Software Center, and the Gambas3 packages can be installed automatically, and updated whenever updates are available.</p>
<p><strong>To purchase the paperback version of the book, you can click on the book cover to the right. ===&gt;</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=84&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2012/02/05/install-gambas3-using-synaptic-or-ubuntu-software-center/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
		<item>
		<title>Update &#8212; end of 2011</title>
		<link>http://beginnersguidetogambas.com/2011/12/26/74/</link>
		<comments>http://beginnersguidetogambas.com/2011/12/26/74/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 17:13:41 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambas.com/?p=74</guid>
		<description><![CDATA[In total, there have been more than 1,700 visits to this blog, and more than 1,500 downloads of Beginner&#8217;s Guide to Gambas, Revised for Version 3.  We are delighted that programmers are showing so much interest &#8212; please let your programming friends know that this book is available as a download for free. To purchase [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=74&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In total, there have been more than 1,700 visits to this blog, and more than 1,500 downloads of Beginner&#8217;s Guide to Gambas, Revised for Version 3.  We are delighted that programmers are showing so much interest &#8212; please let your programming friends know that this book is available as a download <span style="text-decoration:underline;">for free</span>.</p>
<p><strong>To purchase the paperback version of the book, you can click on the book cover to the right. ===&gt;</strong></p>
<p>Ciao!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=74&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2011/12/26/74/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
		<item>
		<title>A Beginner&#8217;s Guide to Gambas, Revised for Version 3 &#8212; the world&#8217;s only English-language book that teaches the &#8220;Gambas BASIC for Linux&#8221; programming language!</title>
		<link>http://beginnersguidetogambas.com/2011/02/11/hello-world/</link>
		<comments>http://beginnersguidetogambas.com/2011/02/11/hello-world/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 22:05:26 +0000</pubDate>
		<dc:creator>minnesotajon</dc:creator>
				<category><![CDATA[Comments/Questions]]></category>
		<category><![CDATA[Beginner's Guide to Gambas]]></category>
		<category><![CDATA[Gambas]]></category>
		<category><![CDATA[linux basic]]></category>
		<category><![CDATA[Programming language]]></category>

		<guid isPermaLink="false">http://beginnersguidetogambasdotcom.wordpress.com/?p=1</guid>
		<description><![CDATA[Soon coming in paperback book form, from Infinity Publishing! Welcome to the support blog for A Beginner&#8217;s Guide to Gambas, Revised for Version 3, by Dr. John Rittinghouse (Ph.D.) and Jon Nicholson.  The paper version of this revised edition of the book is scheduled to be published in July, 2011, along with e-reader versions for [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=1&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>Soon</strong><strong></strong><strong> coming in paperback book form, from Infinity Publishing!<br />
</strong></p>
<p>Welcome to the support blog for A Beginner&#8217;s Guide to Gambas, Revised for Version 3, by Dr. John Rittinghouse <strong></strong>(Ph.D.) and Jon Nicholson.  The paper version of this revised edition of the book is scheduled to be published in July, 2011, along with e-reader versions for Kindle and Nook.  In the interest of completeness, and in support of the Open Content movement, we have placed the .pdf of A Beginner&#8217;s Guide to Gambas here, released under the OCL license.  The OCL license is explained in the book on Page 3.</p>
<p>There are a number of revisions and corrections that have been made in this revised edition, which will make the text easier to study.  Also, this revised edition covers the programming methods of both Gambas 2 and the upcoming Gambas 3.  Check back in late July for details of where to purchase your own copy of the book!</p>
<p>To comment or ask questions about the book, or seek help on something discussed in the book, click on the heading for this post and log in as &#8220;Guest&#8221;, or with one of the other login options.<strong></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beginnersguidetogambasdotcom.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beginnersguidetogambasdotcom.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beginnersguidetogambas.com&#038;blog=19985695&#038;post=1&#038;subd=beginnersguidetogambasdotcom&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beginnersguidetogambas.com/2011/02/11/hello-world/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44dc65498a60f464cc2b681d6be987e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">minnesotajon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
