<?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/"
	>

<channel>
	<title>REALbasic City &#187; windows</title>
	<atom:link href="http://realbasic.tutspolis.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://realbasic.tutspolis.com</link>
	<description>Tutorials - Tutspolis.com</description>
	<lastBuildDate>Sat, 29 May 2010 23:10:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>REALbasic &#8211; Speak Method</title>
		<link>http://realbasic.tutspolis.com/classes/realbasic-speak-method/</link>
		<comments>http://realbasic.tutspolis.com/classes/realbasic-speak-method/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 23:03:56 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Classes & Controls]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[speak]]></category>
		<category><![CDATA[speech]]></category>
		<category><![CDATA[synthesizer]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=217</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 217, userID 0, combination 1 -->
			
				
			
		
REALbasic offers a Speak Method that allows us to use the computer&#8217;s speech synthesizer to pronounce the passed text string (Windows and Macintosh only). It&#8217;s very easy to use so lets look how Speak Method work. 


Speak Method in REALbasic
Speak takes a string (or any variant that can be expressed as a string) and uses [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 217, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Fclasses%2Frealbasic-speak-method%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Fclasses%2Frealbasic-speak-method%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>REALbasic offers a Speak Method that allows us to use the computer&#8217;s speech synthesizer to pronounce the passed text string (Windows and Macintosh only). It&#8217;s very easy to use so lets look how Speak Method work. </p>
<p><span id="more-217"></span></p>
<div style="margin-left:19px;float:left">
<h2>Speak Method in REALbasic</h2>
<p>Speak takes a string (or any variant that can be expressed as a string) and uses the Windows or Macintosh text-to-speech engine to speak the text. The speech is asynchronous, allowing normal program flow to continue. By default, subsequent calls to Speak before the first call has finished will queue up and speak after the completion of the previous call. If the optional interrupt flag is used and set to True, the previous Speak calls will be stopped immediately. Speak is not supported on Linux.</p>
<h2>Speak Method example</h2>
<p>We can for example read the text available in TextArea Control. I hope this example is clear to understand. If you like you can change some settings (like system voice, reading speed etc.) in System Preferences -&gt; Speech. I think that Windows offers also this kind of options somewhere.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">if</span> TextArea1.Text &lt; &gt; <span style="color: #800000;">&quot;&quot;</span> <span style="color: #000080;">then</span>
  speak TextArea1.Text
<span style="color: #000080;">else</span>
  speak <span style="color: #800000;">&quot;Please insert some text in TextArea because it's empty&quot;</span>
<span style="color: #000080;">end</span> <span style="color: #000080;">if</span></pre></td></tr></table></div>

</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/classes/realbasic-speak-method/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MagicSpeller for REALbasic</title>
		<link>http://realbasic.tutspolis.com/plugins/magicspeller-for-realbasic/</link>
		<comments>http://realbasic.tutspolis.com/plugins/magicspeller-for-realbasic/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 20:32:23 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[magicspeller]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[spell check]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=209</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 209, userID 0, combination 1 -->
			
				
			
		
MagicSpeller for REALbasic is a collection of a REALbasic objects for use within the REALbasic development environment. Using MagicSpeller, a developer can easily add a full-featured spell checker into their project in just a few minutes. 


MagicSpeller for REALbasic
MagicSpeller allows you to use a dialog-based spell check system as well as an inline system that [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 209, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Fplugins%2Fmagicspeller-for-realbasic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Fplugins%2Fmagicspeller-for-realbasic%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>MagicSpeller for REALbasic is a collection of a REALbasic objects for use within the REALbasic development environment. Using MagicSpeller, a developer can easily add a full-featured spell checker into their project in just a few minutes. </p>
<p><span id="more-209"></span></p>
<div style="margin-left:19px;float:left">
<h2>MagicSpeller for REALbasic</h2>
<p>MagicSpeller allows you to use a dialog-based spell check system as well as an inline system that checks spelling as you type. Both options provide a customizable number of suggested corrections that are automatically prioritized to maximize accuracy. Inline correction highlights misspelled words as the user types. The dialog based option allows for correcting multiple text fields or strings all at one time.</p>
<p><img src="http://realbasic.tutspolis.com/files/software/magicspeller.png" alt="MagicSpeller for REALbasic" /></p>
<p>MagicSpeller&#8217;s dialog-based spell correction allows for the correction of styled text fields. Corrected words automatically maintain the previously set style of misspelled words to make corrections effortless. Additionally, multiple fields of styled text can be checked all at once so corrections are efficient and convenient.</p>
<p>The MagicSpeller system is completely cross-platform compatible; supporting both the REALbasic IDE and project builds on Macintosh and Windows. Truly an easy solution to code once and compile for your platform of choice.</p>
<h3>More informations</h3>
<ul>
<a href="http://www.infiniteline.com/magicspeller.php">MagicSpeller for REALbasic  home page</a><br />
<a href="http://www.infiniteline.com/software/MagicSpeller/MagicSpeller_v160.zip">Download MagicSpeller 1.6 for REALbasic</a>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/plugins/magicspeller-for-realbasic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac and Linux Color Selector in REALbasic</title>
		<link>http://realbasic.tutspolis.com/tutorials/mac-and-linux-color-selector-in-realbasic/</link>
		<comments>http://realbasic.tutspolis.com/tutorials/mac-and-linux-color-selector-in-realbasic/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 15:41:23 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[color selector]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=113</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 113, userID 0, combination 1 -->
			
				
			
		
Mac OS and Linux and Windows offers a great Color Selector tool where we can select a color in various ways, we can save them as favorites etc. This tutorial will show you how can we integrate system built-in Color Selector tool into our REALbasic application. Watch it, learn it, enjoy it!


Creating the GUI
Drag and [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 113, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Fmac-and-linux-color-selector-in-realbasic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Fmac-and-linux-color-selector-in-realbasic%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Mac OS and Linux and Windows offers a great Color Selector tool where we can select a color in various ways, we can save them as favorites etc. This tutorial will show you how can we integrate system built-in Color Selector tool into our REALbasic application. Watch it, learn it, enjoy it!</p>
<p><span id="more-113"></span></p>
<div style="margin-left:19px;float:left">
<h2>Creating the GUI</h2>
<p>Drag and drop to Window a Rectangle Control.</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/colorselector.png" alt="Mac Color Selector in REALbasic" /></p>
<h2>Displaying system Color Selector</h2>
<p>Go to code editor and in Rectangle1 Function MouseDown () enter this code. Now when the user selects a color it will be automatically in our Rectangle Control.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> b <span style="color: #000080;">as</span> <span style="color: #000080;">Boolean</span>
<span style="color: #000080;">Dim</span> c <span style="color: #000080;">as</span> Color
&nbsp;
c = Rectangle1.FillColor
b = SelectColor(c, <span style="color: #800000;">&quot;Select a Color&quot;</span>)  // displays the color selector
Rectangle1.FillColor = c</pre></td></tr></table></div>

</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/tutorials/mac-and-linux-color-selector-in-realbasic/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTMLViewer Control in REALbasic</title>
		<link>http://realbasic.tutspolis.com/classes/htmlviewer-control-in-realbasic/</link>
		<comments>http://realbasic.tutspolis.com/classes/htmlviewer-control-in-realbasic/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 19:02:47 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Classes & Controls]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[htmlviewer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=90</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 90, userID 0, combination 1 -->
			
				
			
		
HTMLViewer available in REALbasic is a great control to render HTML files and web pages. It can be used for example for building a simple web browser, HTML editor or file browser. Learn how can you get the best from HTMLViewer Control!


HTMLViewer with WebKit engine on Linux
HTMLViewer use default libgtkhtml library to render HTML on [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 90, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Fclasses%2Fhtmlviewer-control-in-realbasic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Fclasses%2Fhtmlviewer-control-in-realbasic%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>HTMLViewer available in REALbasic is a great control to render HTML files and web pages. It can be used for example for building a simple web browser, HTML editor or file browser. Learn how can you get the best from HTMLViewer Control!</p>
<p><span id="more-90"></span></p>
<div style="margin-left:19px;float:left">
<h2>HTMLViewer with WebKit engine on Linux</h2>
<p>HTMLViewer use default libgtkhtml library to render HTML on Linux&#8230; but there is a option to use WebKit. To do this simply install on your system libwebkit-1.0-1. If you like you can make a class that will install this library automatically.</p>
<h2>Creating one line browser in REALbasic</h2>
<p>To create a our web browser add to the Window HTMLViewer control. Set its LockLeft, LockTop, LockRight, and LockBottom properties so that it resizes as the user resizes the window. Now add a PushButton control and insert the code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;">HTMLViewer1.LoadURL(http://tutspolis.com)</pre></td></tr></table></div>

<h2>Opening link in new Window</h2>
<p>If you like to have a option to open a link in new window add to HTMLViewer Function NewWindow() in code editor this code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"> <span style="color: #000080;">Dim</span> w <span style="color: #000080;">as</span> <span style="color: #000080;">New</span> Window1 //name of Window where <span style="color: #000080;">is</span> our HTMLViewer <span style="color: #000080;">control</span>
&nbsp;
 Title = <span style="color: #800000;">&quot;new Window&quot;</span> //title <span style="color: #000080;">property</span> of <span style="color: #000080;">new</span> window
 w.Show //show the window
 Return w.HTMLViewer1 //render html</pre></td></tr></table></div>

<h2>Page load progress in ProgresBar control</h2>
<p>HTMLViewer can easy display the progress of page loading in ProgresBar control. You can make this using few lines of code in HTMLViewer Sub DocumentProgressChanged.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">if</span> percentageComplete = -1 <span style="color: #000080;">then</span> //<span style="color: #000080;">if</span> it cannot be determined
ProgressBar1.Maximum = 0 //display indeterminate progress
<span style="color: #000080;">else</span>
ProgressBar1.Maximum = 100
<span style="color: #000080;">end</span> <span style="color: #000080;">if</span>
ProgressBar1.Value = percentageComplete</pre></td></tr></table></div>

</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/classes/htmlviewer-control-in-realbasic/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>USD to EUR converter in REALbasic</title>
		<link>http://realbasic.tutspolis.com/tutorials/usd-to-eur-converter-in-realbasic/</link>
		<comments>http://realbasic.tutspolis.com/tutorials/usd-to-eur-converter-in-realbasic/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 20:15:40 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[eur]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[usd]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=74</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 74, userID 0, combination 1 -->
			
				
			
		
It would be nice if we could make a USD to EUR converter in REALbasic? Studding Mid and InStr Functions in REALbasic and Creating a Class in REALbasic you can do it! Let me show you how. Watch it, learn it, enjoy it!


Building the GUI for USD to EUR converter
Use two TextFields Controls and one [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 74, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Fusd-to-eur-converter-in-realbasic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Fusd-to-eur-converter-in-realbasic%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>It would be nice if we could make a USD to EUR converter in REALbasic? Studding <a href="http://realbasic.tutspolis.com/tutorials/mid-and-instr-functions-in-realbasic/">Mid and InStr Functions in REALbasic</a> and <a href="http://realbasic.tutspolis.com/tutorials/creating-a-class-in-realbasic/">Creating a Class in REALbasic</a> you can do it! Let me show you how. Watch it, learn it, enjoy it!</p>
<p><span id="more-74"></span></p>
<div style="margin-left:19px;float:left">
<h2>Building the GUI for USD to EUR converter</h2>
<p>Use two TextFields Controls and one PushButton. Try to get result something like on this image. Please note that you can make this application on Windows or Linux too. I prefer Mac OS, you can use what you like &#8211; REALbasic is cross-platform.</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/usdtoeur/usdtoeurconverter.png" alt="realbasic usd to eur" /></p>
<h2>Creating and setting up HTTPSocket Class</h2>
<p>Go to Project TAB and create Class called cHTTP. Then add to Super value HTTPSocket. In code editor for cHTTP Class create a new Property and in Declaration type code and in As type String. Great! Now Add Method and enter for Method Name: convertHTML for Parameters: KeyQuery As String, KeyQuery2 As String, data As String and for Result: String. Insert then the code below:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> KeyStart <span style="color: #000080;">As</span> <span style="color: #000080;">String</span> = KeyQuery 
<span style="color: #000080;">Dim</span> KeyEnd <span style="color: #000080;">As</span> <span style="color: #000080;">String</span> = KeyQuery2
&nbsp;
Return Mid( Data, InStr( Data, KeyStart ) + Len(KeyStart), InStr( Data, KeyEnd ) - (InStr( Data, KeyStart) + Len(KeyStart) ) )</pre></td></tr></table></div>

<p>Create new Method called downloadHTML and use this code. When we type in Google search ex. 20 USD to EUR we will get the result between<b> h2 class=&#8221;r&#8221; style=&#8221;font-size:138%&#8221;</b> and <b>/h2</b>. If we know this than we are done with work.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> Data <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
&nbsp;
Data = Me.<span style="color: #000080;">Get</span> (<span style="color: #800000;">&quot;http://www.google.com/search?hl=en&amp;amp;q=&quot;</span> + (Window1.TextField2.text) + <span style="color: #800000;">&quot;+USD+in+EUR&amp;amp;aq=f&amp;amp;oq=&amp;amp;aqi=g1&quot;</span>, 3 )
&nbsp;
code = convertHTML( <span style="color: #800000;">&quot;h2 class=r style=&quot;</span> + chr(34) + <span style="color: #800000;">&quot;font-size:138%&quot;</span> + chr(34) + <span style="color: #800000;">&quot;&amp;gt;&lt;b&gt;&quot;</span> , <span style="color: #800000;">&quot;&lt;/b&gt;&lt;/h2&gt;&quot;</span>, Data )
&nbsp;
Window1.TextField1.Text = code
&nbsp;
Me.<span style="color: #000080;">Close</span></pre></td></tr></table></div>

<h2>Finishing work in 2 lines</h2>
<p>PushButton1 Sub Action ()</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> tuts <span style="color: #000080;">As</span> <span style="color: #000080;">new</span> cHTML
&nbsp;
tuts.downloadHTML</pre></td></tr></table></div>

</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/tutorials/usd-to-eur-converter-in-realbasic/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>REALbasic &#8211; Learning the interface on Mac, Windows and Linux</title>
		<link>http://realbasic.tutspolis.com/tutorials/realbasic-learning-the-interface-on-mac-windows-and-linux/</link>
		<comments>http://realbasic.tutspolis.com/tutorials/realbasic-learning-the-interface-on-mac-windows-and-linux/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 14:08:07 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[learning interface]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[realbasic city]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=60</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 60, userID 0, combination 1 -->
			
				
			
		
Before we will start the adventure with REALbasic we will create a simple application that will help us discover the interface of REALbasic for Mac OS, Windows &#38; Linux. And in future we will create some great applications. Watch it, learn it, enjoy it!


Running REALbasic
When we start REALbasic on Mac or Windows or Linux we [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 60, userID 0, combination 1 --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Frealbasic-learning-the-interface-on-mac-windows-and-linux%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Ftutorials%2Frealbasic-learning-the-interface-on-mac-windows-and-linux%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Before we will start the adventure with REALbasic we will create a simple application that will help us discover the interface of REALbasic for Mac OS, Windows &amp; Linux. And in future we will create some great applications. Watch it, learn it, enjoy it!</p>
<p><span id="more-60"></span></p>
<div style="margin-left:19px;float:left">
<h2>Running REALbasic</h2>
<p>When we start REALbasic on Mac or Windows or Linux we will see this window. On active TAB Window1 we can use controls and its properties to build GUI (graphical user interface) for our applications. Depending on the operating system the appearance of controls will be different. In Windows we will have windows like controls (buttons, windows skins) , on Mac OS we will have mac like controls etc. </p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-mac-1.png" alt="realbasic window mac" /></p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-windows-1.png" alt="realbasic window windows" /></p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-linux-1.png" alt="realbasic window linux" /></p>
<h2>Property and Value</h2>
<p>Property in GUI builder is a place where we can change some options for current selected control or window. In case of selected Window we have a options like width, height, title,  backcolor etc. Of course we can also change the values even if our applications is running. But we must add this values to our code. We will learn this later.</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-mac-2.png" alt="realbasic property and value" /></p>
<h2>Controls in REALbasic</h2>
<p>In Controls list we can find all available with REALbasic components to create our software. There are such Controls as Canvas (for using images), PushButton (simply a button), MoviePlayer (for loading movies) etc. To use each Control we can simply drag and drop it to our application Window. Some of them (example IPCSocket) are not visual components like ListBox but powerful intermediaries in using ex. protocols, cpu threads etc. Each Control has got its own properties and values.</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-mac-3.png" alt="realbasic controls" /></p>
<h2>Creating a simple application in REALbasic</h2>
<p>OK, we know so much so we will try to create our first easy application. Drag and drop on Window1 controls: PushButton and TextArea. Now double click on PushButton control. PushButton1 Sub Action()</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-mac-4.png" alt="realbasic 1st application" /></p>
<h2>Editing code in REALbasic</h2>
<p>We are now in REALbasic code editor witch looks like this. In others tutorials we will lean how to use it and now simply enter the code below in Controls -&gt; PushButton1 -&gt; Action.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;">TextArea1.Text = <span style="color: #800000;">&quot;REALbasic City&quot;</span></pre></td></tr></table></div>

<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-mac-5.png" alt="realbasic editing code" /></p>
<h2>Project Tab in REALbasic</h2>
<p>I almost forgot Project Tab in REALbasic. We can create here new Window, add a Class, add Module, add Folder with files, images etc. add Menu Bar and Toolbar. We will use this Tab in other tutorials. Every element in Project Tab has got own properties and values. </p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-mac-6.png" alt="realbasic project tab" /></p>
<h2>Running the application</h2>
<p>To check if our application is running correctly we can simply press the green Run button in REALbasic Main Toolbar. As you can see on each operating system the application is working good. The only difference is the GUI style.</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-mac-7.png" alt="realbasic application mac" /></p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-windows-7.png" alt="realbasic application windows" /></p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/learningtheinterface/realbasic-gui-linux-7.png" alt="realbasic application linux" />
</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/tutorials/realbasic-learning-the-interface-on-mac-windows-and-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
