<?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; tip</title>
	<atom:link href="http://realbasic.tutspolis.com/tag/tip/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 Tip: AppleScript protection</title>
		<link>http://realbasic.tutspolis.com/articles/realbasic-tip-applescript-protection/</link>
		<comments>http://realbasic.tutspolis.com/articles/realbasic-tip-applescript-protection/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 10:35:31 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[protection]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=215</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 215, userID 0, combination 1 -->
			
				
			
		
When we learned some time ago how can we create a Growl notification system for REALbasic using AppleScript I forgot to add how to protect our script from stealing. In this quick tip we will learn this. Watch it, learn it, enjoy it!


Run only = protect AppleScript
To protect our AppleScript against copy or edit we [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 215, 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%2Farticles%2Frealbasic-tip-applescript-protection%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Farticles%2Frealbasic-tip-applescript-protection%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>When we learned some time ago how can we create a <a href="http://realbasic.tutspolis.com/tutorials/growl-notification-system-for-realbasic/">Growl notification system for REALbasic</a> using AppleScript I forgot to add how to protect our script from stealing. In this quick tip we will learn this. Watch it, learn it, enjoy it!</p>
<p><span id="more-215"></span></p>
<div style="margin-left:19px;float:left">
<h2>Run only = protect AppleScript</h2>
<p>To protect our AppleScript against copy or edit we must save it with Run only option checked. So if your AppleScript is ready to rock Compile it and then go to File -&gt; Save As&#8230; and like on the screenshot select the Run only option and save the file. Now when you will use it in your REALbasic application everything will work as you think, but if someone will want to preview your AppleScript he will get a message that this is impossible. Hope you like this tip and see you next time!</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/applescriptrunonly.png" alt="REALbasic AppleScript protection" /></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/articles/realbasic-tip-applescript-protection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>REALbasic Tip: Full Screen Mode</title>
		<link>http://realbasic.tutspolis.com/articles/realbasic-tip-full-screen-mode/</link>
		<comments>http://realbasic.tutspolis.com/articles/realbasic-tip-full-screen-mode/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 18:39:38 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[full screen]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=194</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 194, userID 0, combination 1 -->
			
				
			
		
In this quick tip we will learn how to run our REALbasic application in full screen mode. This method can be used when we create a movie player or when we simply need to use every pixel of the screen.


Full Screen Mode in REALbasic
To activate the full screen mode in REALbasic we must do few [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 194, 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%2Farticles%2Frealbasic-tip-full-screen-mode%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Farticles%2Frealbasic-tip-full-screen-mode%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>In this quick tip we will learn how to run our REALbasic application in full screen mode. This method can be used when we create a movie player or when we simply need to use every pixel of the screen.</p>
<p><span id="more-194"></span></p>
<div style="margin-left:19px;float:left">
<h2>Full Screen Mode in REALbasic</h2>
<p>To activate the full screen mode in REALbasic we must do few thing. First we should disable the Resizable Property of the Window Class. Go to GUI Builder and in Window1 Property and Value panel change Resizable to false. Now for example add a PushButton Control to Window1 and capy and paste this code into Sub Action ():</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;">self.FullScreen = <span style="color: #000080;">not</span> self.FullScreen //enter full screen mode
self.MenuBarVisible = <span style="color: #000080;">not</span> self.FullScreen //show <span style="color: #000080;">and</span> hide menu bar</pre></td></tr></table></div>

</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/articles/realbasic-tip-full-screen-mode/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>REALbasic Tip: Comment and Uncomment code</title>
		<link>http://realbasic.tutspolis.com/articles/realbasic-tip-comment-and-uncomment-code/</link>
		<comments>http://realbasic.tutspolis.com/articles/realbasic-tip-comment-and-uncomment-code/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 12:17:08 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[uncomment]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=164</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 164, userID 0, combination 1 -->
			
				
			
		
Probably if you are new in REALbasic you don&#8217;t see a nice button to comment and uncomment code in REALbasic Code Editor. This is a very nice and quick option to select and activate or deactivate code from REALbasic interpretation.


Comment and Uncomment code
To comment code in REALbasic you can use marks like // or &#8216; [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 164, 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%2Farticles%2Frealbasic-tip-comment-and-uncomment-code%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Farticles%2Frealbasic-tip-comment-and-uncomment-code%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Probably if you are new in REALbasic you don&#8217;t see a nice button to comment and uncomment code in REALbasic Code Editor. This is a very nice and quick option to select and activate or deactivate code from REALbasic interpretation.</p>
<p><span id="more-164"></span></p>
<div style="margin-left:19px;float:left">
<h2>Comment and Uncomment code</h2>
<p>To comment code in REALbasic you can use marks like // or &#8216; but this can be tiring when we must comment 30 lines of code. To make this 100 x faster we can select the code and click on Comment button. This works exact the same when it goes about Uncommenting the code.</p>
<p><img src="http://realbasic.tutspolis.com/files/tutorials/commentrealbasic.png" alt="Tip: Comment and Uncoment code" /></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/articles/realbasic-tip-comment-and-uncomment-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>REALbasic Tip: Speed up controls</title>
		<link>http://realbasic.tutspolis.com/articles/realbasic-tip-speed-up-controls/</link>
		<comments>http://realbasic.tutspolis.com/articles/realbasic-tip-speed-up-controls/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 09:24:17 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[controls]]></category>
		<category><![CDATA[listbox]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[speed up]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=134</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 134, userID 0, combination 1 -->
			
				
			
		
If you are not satisfied with the time of add or load data into some controls there is a nice way to speed it up to 5-7 times. For example when you add 1 000 000 rows to Listbox control you must wait over 10 seconds to finish. We can make this in 2-3 seconds… [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 134, 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%2Farticles%2Frealbasic-tip-speed-up-controls%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Farticles%2Frealbasic-tip-speed-up-controls%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>If you are not satisfied with the time of add or load data into some controls there is a nice way to speed it up to 5-7 times. For example when you add 1 000 000 rows to Listbox control you must wait over 10 seconds to finish. We can make this in 2-3 seconds… </p>
<p><span id="more-134"></span></p>
<div style="margin-left:19px;float:left">
<h2>Speed up solution</h2>
<p>The solution for increasing the speed of some actions made in REALbasic controls is practically easy. We will use our Listbox Control example. REALbasic redraws the Listbox each time we AddRow to our control. To make it 5-7 times faster we must hide it for the time of using loop for i = 1 to 1000000. And this works!</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> i <span style="color: #000080;">As</span> <span style="color: #000080;">Integer</span>
&nbsp;
Listbox1.Visible = <span style="color: #000080;">false</span>
&nbsp;
<span style="color: #000080;">for</span> i = 1 <span style="color: #000080;">to</span> 1000000
    Listbox1.AddRow Str(i)
<span style="color: #000080;">next</span>
    Listbox1.Visible = <span style="color: #000080;">true</span></pre></td></tr></table></div>

</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/articles/realbasic-tip-speed-up-controls/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>REALbasic Tip – me. in REALbasic</title>
		<link>http://realbasic.tutspolis.com/articles/realbasic-tip-me-in-realbasic/</link>
		<comments>http://realbasic.tutspolis.com/articles/realbasic-tip-me-in-realbasic/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 17:37:02 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[me.]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/?p=118</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 118, userID 0, combination 1 -->
			
				
			
		
Did you know that when you are in a specific control you can call it by typing word me rather than the name of this control. This amazing little option can really speedup your coding so try to use it.  


me. example
For code below in TextArea Sub SelChange()

1
2
3
4
5
6
7
Dim White, Black as Color
&#160;
White = RGB(255,255,255)
Black [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 118, 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%2Farticles%2Frealbasic-tip-me-in-realbasic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Farticles%2Frealbasic-tip-me-in-realbasic%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Did you know that when you are in a specific control you can call it by typing word me rather than the name of this control. This amazing little option can really speedup your coding so try to use it.  </p>
<p><span id="more-118"></span></p>
<div style="margin-left:19px;float:left">
<h2>me. example</h2>
<p>For code below in TextArea Sub SelChange()</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> White, Black <span style="color: #000080;">as</span> Color
&nbsp;
White = RGB(255,255,255)
Black = RGB(0,0,0)
<span style="color: #000080;">if</span> TextArea1.SelTextColor = White <span style="color: #000080;">then</span>
TextArea1.SelTextColor = Black
<span style="color: #000080;">end</span> <span style="color: #000080;">if</span></pre></td></tr></table></div>

<p>you can write</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> White, Black <span style="color: #000080;">as</span> Color
&nbsp;
White = RGB(255,255,255)
Black = RGB(0,0,0)
<span style="color: #000080;">if</span> me.SelTextColor = White <span style="color: #000080;">then</span>
me.SelTextColor = Black
<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/articles/realbasic-tip-me-in-realbasic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>REALbasic Tip &#8211; Language Reference</title>
		<link>http://realbasic.tutspolis.com/articles/realbasic-tip-language-reference/</link>
		<comments>http://realbasic.tutspolis.com/articles/realbasic-tip-language-reference/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 16:25:05 +0000</pubDate>
		<dc:creator>Jakub Pawlak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[language reference]]></category>
		<category><![CDATA[realbasic]]></category>
		<category><![CDATA[realbasic city]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[tutspolis]]></category>

		<guid isPermaLink="false">http://realbasic.tutspolis.com/articles/realbasic-tip/</guid>
		<description><![CDATA[<!-- isPostPurchased ,postID 51, userID 0, combination 1 -->
			
				
			
		
Did you know that REALbasic has got a full-text searchable version of the REALbasic Language Reference. You can access this powerful online help system by selecting &#8220;Language Reference&#8221; from the Help menu.


This option is also available when you press F1 key (on Windows or Linux). The Language Reference provides a complete explanation of the REALbasic [...]]]></description>
			<content:encoded><![CDATA[<!-- isPostPurchased ,postID 51, 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%2Farticles%2Frealbasic-tip-language-reference%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Frealbasic.tutspolis.com%2Farticles%2Frealbasic-tip-language-reference%2F&amp;source=REALbasicCity&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Did you know that REALbasic has got a full-text searchable version of the REALbasic Language Reference. You can access this powerful online help system by selecting &#8220;Language Reference&#8221; from the Help menu.</p>
<p><span id="more-51"></span></p>
<div style="margin-left:19px;float:left">
This option is also available when you press F1 key (on Windows or Linux). The Language Reference provides a complete explanation of the REALbasic language, including several examples for each command. To make learning REALbasic even easier, you can copy the example code from the Language Reference and paste it right into your project!
</div>
]]></content:encoded>
			<wfw:commentRss>http://realbasic.tutspolis.com/articles/realbasic-tip-language-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
