<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-AU"><title type="html">Bernard Bout</title><subtitle type="html">May the Fox be with you...</subtitle><id>http://weblogs.foxite.com/bernardbout/atom.aspx</id><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/default.aspx" /><link rel="self" type="application/atom+xml" href="http://weblogs.foxite.com/bernardbout/atom.aspx" /><generator uri="http://communityserver.org" version="2.0.60217.2664">Community Server</generator><updated>2006-06-15T10:38:00Z</updated><entry><title>Using the Interop Forms Toolkit in VFP9 - IV</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2008/04/15/6017.aspx" /><link rel="enclosure" type="application/zip" length="140604" href="http://weblogs.foxite.com/bernardbout/attachment/6017.ashx" /><id>http://weblogs.foxite.com/bernardbout/archive/2008/04/15/6017.aspx</id><published>2008-04-15T04:00:00Z</published><updated>2008-04-15T04:00:00Z</updated><content type="html">True Multithreading in VFP

In this 4th part I will describe here a way of
obtaining true multi threading with VFP and the Interop Toolkit Usercontrol. As
you know this is impossible in VFP alone although there are some ways of
achieving this through COM and use of timers.

The method for doing this has been adapted from the code found here:
http://www.codeproject.com/KB/vb-interop/VB6InteropToolkit2.aspx
You should also read this article thoroughly.So fire up VB 2005 Express and create...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2008/04/15/6017.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=6017" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Zoombar with Reflections</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2007/12/31/5509.aspx" /><id>http://weblogs.foxite.com/bernardbout/archive/2007/12/31/5509.aspx</id><published>2007-12-31T04:35:00Z</published><updated>2007-12-31T04:35:00Z</updated><content type="html">Adding reflections to the bbZoombar class.
Over the holidays, I have done some additional enhancements to the bbZoombar class. Wouldn’t it be nice to have the icons reflected on the bar, with the reflections moving and zooming as well? Well this class now has them.
&amp;nbsp;
Also the class has been revamped to allow for more than 9 buttons. Now you can have up to 99 but that would be overkill.


I have also added a builder to the class. To use the new class, just drop it on a form, resize the...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2007/12/31/5509.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=5509" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>A Visual Foxpro Animated Zoombar Class</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2007/12/16/5471.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="6557" href="http://weblogs.foxite.com/bernardbout/attachment/5471.ashx" /><id>http://weblogs.foxite.com/bernardbout/archive/2007/12/16/5471.aspx</id><published>2007-12-16T02:52:00Z</published><updated>2007-12-16T02:52:00Z</updated><content type="html">The Zoombar Class
&amp;nbsp;From the first time I saw this class here
http://www.devcomponents.com/dotnetbar/BubbleBar.html
&amp;nbsp;I liked it a lot. Only problem was it was in .NET and not VFP and I did not want all that overhead.
&amp;nbsp;Emerson Reed did a good class here http://weblogs.foxite.com/emersonreed but it only had 2 states so was more of a popup button class rather than a zoom class.
So I decided to develop this from the ground up to suit my needs and with an actual zooming effect. The...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2007/12/16/5471.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=5471" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Embed II - The Smart VFP Treeview Class</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2007/07/15/4366.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="23268" href="http://weblogs.foxite.com/bernardbout/attachment/4366.ashx" /><id>http://weblogs.foxite.com/bernardbout/archive/2007/07/15/4366.aspx</id><published>2007-07-14T18:34:00Z</published><updated>2007-07-14T18:34:00Z</updated><content type="html">In a previous post titled Embed Your Images, I described how you can embed images into a class.&amp;nbsp;&amp;nbsp;
&amp;nbsp;
Well in this post I will show you a better way to embed those images as well as a configuration file into a class. The class in question is a Treeview class first shown here in this post.
&amp;nbsp;
The class and sample forms can be downloaded from the link below.
&amp;nbsp;
All that is needed to use this class is to run the xmldashbuilder.scx form and configure how the Treeview will look....(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2007/07/15/4366.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=4366" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Using the Interop Forms Toolkit in VFP9 III</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2007/07/09/4287.aspx" /><id>http://weblogs.foxite.com/bernardbout/archive/2007/07/09/4287.aspx</id><published>2007-07-09T04:53:00Z</published><updated>2007-07-09T04:53:00Z</updated><content type="html">Part&amp;nbsp;3 – Adding and Enabling a Menu Strip
&amp;nbsp;
In this post I will expand on my other posts (1 &amp;amp; 2 ) and show how we can add a menu strip and use it from VFP. You will need to download the source code supplied in the previous post to follow along.
&amp;nbsp;
Mike S has requested this segment so here ya go Mike…
&amp;nbsp;
Open up the project in VBExpress.Net and you are good to go. 
&amp;nbsp;
Adding a “menu strip” is very easy. Double click the file MyToolstrip.vb to open it in the design...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2007/07/09/4287.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=4287" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Using the Interop Forms Toolkit in VFP9 – A Walkthrough II</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2007/06/21/4140.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="196487" href="http://weblogs.foxite.com/bernardbout/attachment/4140.ashx" /><id>http://weblogs.foxite.com/bernardbout/archive/2007/06/21/4140.aspx</id><published>2007-06-21T03:36:00Z</published><updated>2007-06-21T03:36:00Z</updated><content type="html">Part&amp;nbsp;2 - Properties and More Events
&amp;nbsp;
Today I will show how we can add additional controls as well as expose properties of those controls in our Activex.
&amp;nbsp;
If you haven't already please read Part 1 of the post.Open the project in vbExpress you created earlier or if you’re lazy download the complete project code from the link below and follow along.
&amp;nbsp;
Double click the file MyToolstrip.vb to open it in the designer. From the toolbox on the left drop a checkbox onto the usercontrol...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2007/06/21/4140.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=4140" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Using the Interop Forms Toolkit in VFP9 – A Walkthrough</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2007/06/20/4126.aspx" /><id>http://weblogs.foxite.com/bernardbout/archive/2007/06/20/4126.aspx</id><published>2007-06-20T02:22:00Z</published><updated>2007-06-20T02:22:00Z</updated><content type="html">Part 1 - Installation, Control Creation &amp;amp; Events
&amp;nbsp;
Microsoft have recently released the Interop Forms Toolkit 2.0&amp;nbsp; at http://msdn2.microsoft.com/en-us/vbasic/aa701259.aspx . This toolkit allows developers to create Activex controls that can be hosted in VB as well as forms that can be called from VB. But this toolkit is not limited to VB alone. It can easily be used to create Forms and controls for use in VFP, as I will show.
&amp;nbsp;
First things first. Go and download the Installer...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2007/06/20/4126.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=4126" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>OzFox2007 - Get(Objx) more productive</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2007/03/02/3391.aspx" /><id>http://weblogs.foxite.com/bernardbout/archive/2007/03/02/3391.aspx</id><published>2007-03-02T02:23:00Z</published><updated>2007-03-02T02:23:00Z</updated><content type="html">I am back from an extremely intense OzFox 2007 and I must say it was very well organised by Craig Bailey of Talman. It was great to meet other VFP users from Australia and overseas and put faces to names.
One of the sessions was Get moreProductive with VFP by Rick Schummer where he did an interactive session on enhancements we can&amp;nbsp;create ourselves to make our development life easier. There were a lot of ideas brought up that were really timesavers and really cool and Rick did a really good...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2007/03/02/3391.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=3391" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Embed Your Images</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2007/02/18/3320.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="346291" href="http://weblogs.foxite.com/bernardbout/attachment/3320.ashx" /><id>http://weblogs.foxite.com/bernardbout/archive/2007/02/18/3320.aspx</id><published>2007-02-17T17:56:00Z</published><updated>2007-02-17T17:56:00Z</updated><content type="html">It has always been a problem for me to have to include images for each class as an external file. Not only is file access slow, but VFP has an irritating way of displaying the Hourglass cursor every time a file is accessed from disk. This is especially noticeable in graphical buttons that have a bitmap change for a MouseEnter and MouseLeave event. 
&amp;nbsp;
Well not any more. Using a field in the class – the USER field, I have in one stroke removed both these irritants. Using the method described...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2007/02/18/3320.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=3320" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Add Glass XP Widgets to your Visual Foxpro Screens</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2006/11/04/2798.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="392075" href="http://weblogs.foxite.com/bernardbout/attachment/2798.ashx" /><id>http://weblogs.foxite.com/bernardbout/archive/2006/11/04/2798.aspx</id><published>2006-11-04T04:28:00Z</published><updated>2006-11-04T04:28:00Z</updated><content type="html">Google, Yahoo, Vista have all got them. Now so has Visual Foxpro and you. I am talking about those little apps called Widgets that you can use to clutter your screen with.
Using PNG graphics that are supported by VFP is one way to create very cool widgets. I have described here&amp;nbsp;how&amp;nbsp;PNG's with an Alpha mask can be used to show some cool glass-like pseudo "forms".
Now I will describe here how this can be extended to creating glass widgets. While we&amp;nbsp;have always had widgets, and have...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2006/11/04/2798.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=2798" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Visual Foxpro shows its Glass!</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2006/10/28/2765.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="654061" href="http://weblogs.foxite.com/bernardbout/attachment/2765.ashx" /><id>http://weblogs.foxite.com/bernardbout/archive/2006/10/28/2765.aspx</id><published>2006-10-28T03:37:00Z</published><updated>2006-10-28T03:37:00Z</updated><content type="html">Vista is almost upon us with its new API’s and Aero Glass theme. It has already been shown that VFP can run in Vista and Craig Boyd has shown here how to achieve some of the glass effects of Aero in a VFP form. If you haven’t, check out: here:
&amp;nbsp;
http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,ded0ffae-4c8f-41b9-918f-b5adfe36f140.aspx
&amp;nbsp;
Many of us will not be updating as yet till maybe SP1 or even later since a newer more powerful computer would be needed and who has that much...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2006/10/28/2765.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=2765" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Using the Alpha Channel in Visual Foxpro Images</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2006/09/11/2436.aspx" /><id>http://weblogs.foxite.com/bernardbout/archive/2006/09/11/2436.aspx</id><published>2006-09-10T13:55:00Z</published><updated>2006-09-10T13:55:00Z</updated><content type="html">Using the Alpha Channel in PNG images can result in some very interesting and pleasing effects.
I have been working on some pseudo forms using Alpha Channel masks in PNG images with some very pleasing results. I was not aware that VFP could handle the Alpha channel masks of PNG's so decided to give it a try.
Updated on 12/09/2006 (see below)
I created the images in Paint Shop Pro but any image application like Photoshop etc that can create masks will do. When loaded into a VFP image object these...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2006/09/11/2436.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=2436" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Transparent Forms in Visual FoxPro Revealed</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2006/08/27/2353.aspx" /><id>http://weblogs.foxite.com/bernardbout/archive/2006/08/27/2353.aspx</id><published>2006-08-27T03:15:00Z</published><updated>2006-08-27T03:15:00Z</updated><content type="html">How it is done
&amp;nbsp;
My previous post was purposely vague as I wanted to stir some interest. Just describing the method used to achieve the effect would have been easy but would have ended the interest there.
&amp;nbsp;
Many readers “got it”. Some slightly differently to what I did but nevertheless there are many ways to skin a cat. Other’s just did not.
&amp;nbsp;
Anyway in this post I will describe the method used to achieve the semi - transparent form effect. I hope readers will think about the...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2006/08/27/2353.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=2353" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>VFP is very very cool</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2006/08/16/2261.aspx" /><id>http://weblogs.foxite.com/bernardbout/archive/2006/08/16/2261.aspx</id><published>2006-08-16T05:09:00Z</published><updated>2006-08-16T05:09:00Z</updated><content type="html">It’s&amp;nbsp; all Smoke &amp;amp; Mirrors
&amp;nbsp;
Gone are the days of staid grey forms and controls. Now screens need to have visual appeal as well as functionality. Microsoft started the trend by designing the Outlook 2000 interface and went one better with the Outlook 2003 interface which uses themes. Everywhere on the net we see the effect of colour on web pages.
&amp;nbsp;
Well we have the ability to use themes in VFP and the Outlook interface lends itself to easily copying and adding the similar look...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2006/08/16/2261.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=2261" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry><entry><title>Visual Foxpro does Glass!</title><link rel="alternate" type="text/html" href="http://weblogs.foxite.com/bernardbout/archive/2006/06/15/1838.aspx" /><id>http://weblogs.foxite.com/bernardbout/archive/2006/06/15/1838.aspx</id><published>2006-06-14T23:38:00Z</published><updated>2006-06-14T23:38:00Z</updated><content type="html">The Windows Vista CPT is out and is being downloaded desperately by whoever has the bandwidth. One of the "eye candy" items of Vista themes is something called Glass Forms. When applied, it gives an effect that the form is transparent - like glass.
However don't rush out and set this up since your current graphics card may not support its requirements. Also it is a huge resource hog and recommendations are that only a small part of the window should be glassed.
So what should we others who are...(&lt;a href="http://weblogs.foxite.comhttp://weblogs.foxite.com/bernardbout/archive/2006/06/15/1838.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=1838" width="1" height="1"&gt;</content><author><name>bbout</name><uri>http://weblogs.foxite.com/members/bbout.aspx</uri></author></entry></feed>