<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.foxite.com/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Bernard Bout</title><link>http://weblogs.foxite.com/bernardbout/default.aspx</link><description>May the Fox be with you...

</description><dc:language>en-AU</dc:language><generator>CommunityServer 2.0 (Build: 60217.2664)</generator><item><title>Ultra Simple Buttons with GDI+X</title><link>http://weblogs.foxite.com/bernardbout/archive/2010/03/17/10625.aspx</link><pubDate>Wed, 17 Mar 2010 12:45:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:10625</guid><dc:creator>bbout</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/10625.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=10625</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/10625.aspx</wfw:comment><description>Not another set of buttons you might say. Actually I developed these buttons for a POS app a while back and finally got round to posting them.The buttons are simple to use with all properties you need to set in the Favourites tab. oFontName - The name of the font to uselShowBell - This gives a bell shape to the gradient. Basically it changes the style of the button. See the image below.nButtonColour1nButtonColour2 - The 2 colours that will be used for the button when nButtonType = 4. Use the colour...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2010/03/17/10625.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=10625" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/10625.ashx" length="28444" type="application/x-zip-compressed" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>The Fastest Lightbox Ever</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/09/21/8974.aspx</link><pubDate>Mon, 21 Sep 2009 11:27:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:8974</guid><dc:creator>bbout</dc:creator><slash:comments>8</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/8974.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=8974</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/8974.aspx</wfw:comment><description>In one of my previous posts I described a Lightbox class that was Activex friendly.The old post is here: VFP Lightbox Class - Now Activex FriendlyUnfortunately because of the logic used in the class, for large "busy" forms with a large number of objects, it caused a couple of seconds delay before the lightbox was displayed and even then on slower computers the screen update was noticeably slow.So I had another look at the logic of the previous version and threw away most of the code. The result is...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/09/21/8974.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=8974" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/8974.ashx" length="81010" type="application/x-zip-compressed" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>Beautify your Application Desktop</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/09/11/8904.aspx</link><pubDate>Fri, 11 Sep 2009 09:34:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:8904</guid><dc:creator>bbout</dc:creator><slash:comments>7</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/8904.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=8904</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/8904.aspx</wfw:comment><description>Been a while since I posted anything.Came across a desktop image when browsing the other day and saw this application desktop. It looked doable in VFP so I got stuck in and this is the result.The class is based on the GDI+X classes from the VFPX site and requires VFP9 SP2 or you will not get transparency. I kept the class simple with few properties to set but that can be easily changed by anyone because the source is included. All the properties are self explanatory.So just create a form with a nice...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/09/11/8904.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=8904" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/8904.ashx" length="671825" type="application/x-zip-compressed" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>GDI+X Pad gets an update with added functionality and tutorial</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/04/24/8241.aspx</link><pubDate>Fri, 24 Apr 2009 11:47:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:8241</guid><dc:creator>bbout</dc:creator><slash:comments>2</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/8241.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=8241</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/8241.aspx</wfw:comment><description>After&amp;nbsp;some testing and additional functionality programmed in, I have decided to release this new version of the GDI+X Pad - v1.35.

There are a number of enhancements to it, to enable it to be easier to use, which I will list here:
1. The Error handler was changed to the older conventional On Error from the Try...Catch style because Try...Catch was unable to process certain errors and threw up nesting errors. The Error handler now handles improper code statements correctly.
2.The image...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/04/24/8241.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=8241" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/8241.ashx" length="665144" type="application/x-zip-compressed" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>Update to GDI+X Pad</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/04/16/8113.aspx</link><pubDate>Thu, 16 Apr 2009 12:34:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:8113</guid><dc:creator>bbout</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/8113.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=8113</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/8113.aspx</wfw:comment><description>Just a note to whoever reads this blog and downloaded the GDI+X Pad. that the post has been updated. The download has also been updated to v 1.12.Please check this link for the update and new download:
http://weblogs.foxite.com/bernardbout/archive/2009/04/14/8096.aspx...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/04/16/8113.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=8113" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>Introducing the GDI+X Pad</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/04/14/8096.aspx</link><pubDate>Tue, 14 Apr 2009 15:18:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:8096</guid><dc:creator>bbout</dc:creator><slash:comments>7</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/8096.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=8096</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/8096.aspx</wfw:comment><description>Many times when trying out the GDI+X classes I have had to create a form and then type out the code and run the form to see the results. Another problem I have had is looking up sample code to see how things are done. I have always wanted an easier way to manage this.
Note: Post has been updated with some new info. See below. Also the download is now V1.2
The GDI+X Pad is&amp;nbsp;a Visual Foxpro 9 Sp2 &amp;nbsp;application where you can&amp;nbsp;type&amp;nbsp;in your GDI+X code to see how it looks immediately,...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/04/14/8096.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=8096" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/8096.ashx" length="538105" type="application/x-zip-compressed" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>Creating the VFP Base Classes with GDI+x - The 3D Option Buttons</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/03/28/8008.aspx</link><pubDate>Sat, 28 Mar 2009 15:23:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:8008</guid><dc:creator>bbout</dc:creator><slash:comments>1</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/8008.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=8008</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/8008.aspx</wfw:comment><description>Following on from my previous post about creating check boxes completely with GDI+x I decided to try something a bit different and create a 3D Option Button set with colour schemes. What follows is about this class as well as how to set it up and also to create your own colour schemes, in addition to the ten schemes included.Important:The GDI+X classes that are used in this class use Functions in system.app that are fixed and you will get errors if you use the release version. As pointed out by Cesar,...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/03/28/8008.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=8008" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/8008.ashx" length="75052" type="application/zip" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>Creating the VFP Base Classes with GDI+x - The Checkbox</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/03/26/7991.aspx</link><pubDate>Thu, 26 Mar 2009 14:06:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7991</guid><dc:creator>bbout</dc:creator><slash:comments>4</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/7991.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=7991</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/7991.aspx</wfw:comment><description>A reader on my blog posted - why don't I create other base controls with GDI+x so I thought I'd give it a shot. This post is about recreating the VFP Base classes using pure GDI+ and the GDI+x classes to achieve neat looking base classes. When I say "Base Class" I mean with VFP intrinsic ability to bind fields to controls. So while not all PEM's available in the Checkbox have been implemented the two most important have been - DataBinding using the ControlSource and of course sprucing up the UI experience.After...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/03/26/7991.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7991" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/7991.ashx" length="119166" type="application/zip" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>White Butttons are not that bad looking after all</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/03/06/7856.aspx</link><pubDate>Fri, 06 Mar 2009 12:06:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7856</guid><dc:creator>bbout</dc:creator><slash:comments>4</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/7856.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=7856</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/7856.aspx</wfw:comment><description>Been working off and on, on a set of, believe it or not, White buttons using GDI+x &amp;nbsp;So far they have come out pretty good looking. May complete them one day and post them.
What do you think?

Unfortunately because of the amount of junk mail being generated from the weblog I have switched off comments. Please post your comments, if any, at www.foxite.com...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/03/06/7856.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7856" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>Decorating a Grid with GDI+</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/03/03/7829.aspx</link><pubDate>Tue, 03 Mar 2009 12:14:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7829</guid><dc:creator>bbout</dc:creator><slash:comments>1</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/7829.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=7829</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/7829.aspx</wfw:comment><description>



Many times I have seen where there are grid controls that have an image as their background. Now in VFP while it is not too difficult to display images in the grid, you just cannot get the effect as below.
avior:url(#ieooui) }

 




But with a little ingenuity and some technique this effect as above is certainly possible.
That's where GDI+ comes in. To achieve this you need the GDI+x classes found on VFPX and the imgcanvas class.
Create a new class and base it on the imgcanvas...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/03/03/7829.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7829" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/7829.ashx" length="29079" type="application/x-zip-compressed" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>VFP Shape Tips &amp;amp; Techniques</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/03/03/7821.aspx</link><pubDate>Tue, 03 Mar 2009 08:18:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7821</guid><dc:creator>bbout</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/7821.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=7821</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/7821.aspx</wfw:comment><description>Here are a couple of tips for getting things done with your classes using the Shape control.
With a listbox control, you have to actually click on it before any row is selected. If, for any reason you wanted to be able to just move your mouse over it and have a row selected, you will find that you cannot achieve this with the plain control. That is because this behaviour is not native.
But given that you may want this specific effect, and remember that this technique can be used for other controls...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/03/03/7821.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7821" width="1" height="1"&gt;</description></item><item><title>Don't let VFP's CLEAR ALL command scare you</title><link>http://weblogs.foxite.com/bernardbout/archive/2009/02/26/7774.aspx</link><pubDate>Thu, 26 Feb 2009 10:24:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7774</guid><dc:creator>bbout</dc:creator><slash:comments>3</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/7774.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=7774</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/7774.aspx</wfw:comment><description>When developing, how many times have you had to issue a CLEAR ALL in the command window only to find your objects and other settings also were cleared?...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2009/02/26/7774.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7774" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/7774.ashx" length="2282" type="application/x-zip-compressed" /></item><item><title>Transparent Forms with VFP Revisited with GDI+x</title><link>http://weblogs.foxite.com/bernardbout/archive/2008/11/07/7249.aspx</link><pubDate>Fri, 07 Nov 2008 14:14:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7249</guid><dc:creator>bbout</dc:creator><slash:comments>3</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/7249.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=7249</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/7249.aspx</wfw:comment><description>More than 2 years ago I started blogging on getting VFP to have transparent windows. No, not the fully transparent ones, but the Vista like ones, where the window is transparent but the contents, including form objects, are opaque.
This was my first post as proof of concept:
http://weblogs.foxite.com/bernardbout/archive/2006/06/15/1838.aspx
and from proof of concept to the "real" thing http://weblogs.foxite.com/bernardbout/archive/2006/08/16/2261.aspx
with the technique described in detail here...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2008/11/07/7249.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7249" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/7249.ashx" length="52058" type="application/x-zip-compressed" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>Glow-In-The-Dark Buttons with GDI+X</title><link>http://weblogs.foxite.com/bernardbout/archive/2008/10/24/7163.aspx</link><pubDate>Fri, 24 Oct 2008 10:09:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7163</guid><dc:creator>bbout</dc:creator><slash:comments>5</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/7163.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=7163</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/7163.aspx</wfw:comment><description>The GDI+x Samples have a form that displays a "Halo" for text. So taking that idea I adapted it for these glowing buttons.
To use these buttons you will need the GDI+x classes on the VFPX site. 
http://www.codeplex.com/Wiki/View.aspx?ProjectName=VFPX&amp;amp;title=GDIPlusX
Click on the link on this page that says Latest Release of GDIPlusX&amp;nbsp;and download the latest stable release. Do not download the Beta as that is not complete and may not work properly.
I havd also posted a tutorial on how to...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2008/10/24/7163.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7163" width="1" height="1"&gt;</description><enclosure url="http://weblogs.foxite.com/bernardbout/attachment/7163.ashx" length="36196" type="application/x-zip-compressed" /><category domain="http://weblogs.foxite.com/bernardbout/archive/category/1076.aspx">GDI+X Classes</category></item><item><title>Interesting Animated Background Effect for Forms</title><link>http://weblogs.foxite.com/bernardbout/archive/2008/10/23/7149.aspx</link><pubDate>Thu, 23 Oct 2008 09:41:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7149</guid><dc:creator>bbout</dc:creator><slash:comments>10</slash:comments><comments>http://weblogs.foxite.com/bernardbout/comments/7149.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/bernardbout/commentrss.aspx?PostID=7149</wfw:commentRss><wfw:comment>http://weblogs.foxite.com/rsscomments/7149.aspx</wfw:comment><description>Most of you have seen the effect of the Vista dialogs where the background of the form appears to move whe the form is moved. While difficult to describe, it is easy to see and even easier to implement for your forms.
Obviously if you have Vista, then you already have the animated background effect. So this post is aimed at those of us who have upgraded to and still use XP.
This effect is achieved with just 2 lines of code as you will see.
Click on either of the images below to view it at full...(&lt;a href="http://weblogs.foxite.com/bernardbout/archive/2008/10/23/7149.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7149" width="1" height="1"&gt;</description></item></channel></rss>