<?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>Templates &#8211; Xojo Programming Blog</title>
	<atom:link href="https://blog.xojo.com/tag/templates/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.xojo.com</link>
	<description>Blog about the Xojo programming language and IDE</description>
	<lastBuildDate>Thu, 09 May 2019 17:35:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Guest Post: Part 2, The Power of Templates</title>
		<link>https://blog.xojo.com/2015/11/09/guest-post-part-2-the-power-of-templates/</link>
		
		<dc:creator><![CDATA[Xojo]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Guest Post]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Templates]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2015/11/09/guest-post-part-2-the-power-of-templates/</guid>

					<description><![CDATA[A tip for creating transparent labels on Windows in Xojo and using Templates to save development time]]></description>
										<content:encoded><![CDATA[<p>Read <a href="../../../com/xojo/blog/guest-post-transparent-label-tip-for-windows.html" target="_blank">Part 1</a> for a simple solution to set up a transparent label in Windows.</p>
<p>Xojo has three default project types on Windows (four on OS X with iOS).</p>
<p><img decoding="async" style="width: 215px;" title="Xojo Windows Project Chooser" src="https://blog.xojo.com/wp-content/uploads/2015/11/Win_Project_Types.pngt1466486449161" alt="Xojo Windows Project Chooser" data-constrained="true" /></p>
<p><span id="more-279"></span></p>
<p>These project types can be overwritten by placing suitably named binary projects in the Template Folder. See page the <a href="http://developer.xojo.com/project-types$Changing%20Default%20Projects">Templates section fo the User Guide</a>.</p>
<p>So having already created a project with our transparent label, we donât want to have to do that every time we create a new desktop project. We can save time by creating a template and copying it to the program files Xojocurrent version Templates which will allow us to select that template when creating a new project.</p>
<p><img decoding="async" style="width: 211px;" title="Xojo Project Template" src="https://blog.xojo.com/wp-content/uploads/2015/11/Project_Template.pngt1466486449161" alt="Xojo Project Template" data-constrained="true" /></p>
<p>But if we saved our project with the name &#8220;Default Desktop Project&#8221; in binary format then that will override the Desktop project on the choose a project dialog.  Due to Windows permissions, it is necessary to save your project elsewhere and copy it to the program files folder.</p>
<p><img decoding="async" style="width: 574px;" title="Program Files Folder Windows" src="https://blog.xojo.com/wp-content/uploads/2015/11/Program_Files_Folder_Windows.pngt1466486449161" alt="Program Files Folder Windows" data-constrained="true" /></p>
<p>Now when I create a new desktop project my transparent label is already included.  Of course I also have routines to get and set the main window location in the registry.</p>
<p>You can download my template <a href="https://dl.dropboxusercontent.com/u/18858366/Default%20Desktop%20Project.xojo_binary_project" target="_blank">here</a>. If you do download this project, make sure to replace &#8220;Axis Direct Ltd&#8221; with your own organisation.</p>
<p><em>Wayne Golding has been a Xojo developer since 2005. He operates an IT Company Axis Direct Ltd <a href="http://www.axisdirect.nz/" target="_blank">www.axisdirect.nz</a> which primarily develops applications using Xojo that integrate with Xero <a href="http://www.xero.com/" target="_blank">www.xero.com</a>.  Wayne&#8217;s hobby is robotics where he uses Xojo to build applications for his Pi2 often implementing IoT for remote control.</em><em><span id="hs-cta-wrapper-ee3c17a9-e8c9-4b5d-92ea-421a48777319" class="hs-cta-wrapper"><span id="hs-cta-ee3c17a9-e8c9-4b5d-92ea-421a48777319" class="hs-cta-node hs-cta-ee3c17a9-e8c9-4b5d-92ea-421a48777319"><br />
<!-- [if lte IE 8]>


<div id="hs-cta-ie-element"></div>


<![endif]--> <a href="http://blog.xojo.com/2014/06/12/creating-installers-for-windows-apps/" target="_blank"><img fetchpriority="high" decoding="async" id="hs-cta-img-ee3c17a9-e8c9-4b5d-92ea-421a48777319" class="hs-cta-img aligncenter" style="border-width: 0px; margin: 0 auto; display: block; margin-top: 20px; margin-bottom: 20px;" src="https://blog.xojo.com/wp-content/uploads/2015/02/ee3c17a9-e8c9-4b5d-92ea-421a48777319.png" alt="Xojo Windows" width="611" height="108" align="middle" /></a></span></span> <!-- end HubSpot Call-to-Action Code --> </em></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
