Thanks to Amit for alerting me to the fact that my backspace solution didn’t work for the mouse event. Turns out that the solution is still simple but involves using KeyPress aswell as Valid. Simply add a new property (eg bAllowBackspace) to your textbox baseclass and then throw the follow code in KeyPress and Valid events KeyPress() LPARAMETERS nKeyCode, nShiftAltCtrlIF nKeyCode = 127...
CodeCampOz
Updated: I had the wrong MSDN link – fixed nowI write this from CodeCampOz which has been a fantastic event. For a ‘free’ event it has been remarkably smooth and well organised. (The event itself is free, you only have to get and stay here (Wagga) so travel and accomodation is the only cost.)The weekend has focussed on Visual Studio 2005 Beta 2 (released just a few days ago and...
Do not fill out the VFP survey!
Did you know that Microsoft are conducting a big survey about VFP?It only takes about 3 minutes and you go into the draw to win a ticket to Devcon or a cassh prize. Too easy.But the less people who fill out the survey, the less entrants in the draw and thus the better my chances of winning. So I encourage you to ignore the great help this will be to the product and how it will enable Microsoft to...
INSERT into a view on joined tables in VFP
You can insert and delete records on a view that is a join of two tables.Not sure why I thought you couldn’t do this but I got myself confused over views. I thought you could only insert into views on a single table.But you definately can insert and delete on joined tables. In my case its on a 1:1 join. I need to investigate if this is the case with 1:M tables too…
Stop backspace in VFP
Here’s a tip Scott Scovell informed me of regarding a non-standard VFP behaviour:‘I had a request from a client to prevent the textbox from losing the focus when they use BACKSPACE. When removing details from a textbox using the BACKSPACE key, focus was being transferred to the previous textbox and they (more often then not) began to remove details from that textbox as well. Windows...
Binding to VFP9 System events
Here’s a link to Scott Scovell’s whitepaper and code from the Sydney VFP UG last weekhttp://www.svfpug.com.au/assets/2005Mar/Scott%20Scovell%20-%20Binding%20to%20Windows%20Message%20events.zipScott is our Chief Software Architect at TalmanSee also the UG sitewww.svfpug.com.au
VFP9 link summary
I trust you’ve all seen the links Ken Levy posted this past week (and if this is the first time you’ve heard about them then you really need to widen your blog reading <g> – mandatory reading are Ken, Rick and FoxWiki) Here’s a summary of the links: Microsoft Visual FoxPro Microsoft PressPass article on VFP9 VFP9 supported by Microsoft until 2014 ENT News RedmondMag...
Recent blog updates
I’ve added new entries to the Sydney VFP User Group and OzFox blogs latelywww.ozfox.blogspot.comwww.svfpug.blogspot.com
West Wind HTML Help Builder
I’ve been playing with Help Builder again (I used an earlier version for a while) and have to say this really is one of the best products I’ve used in a long time. And here I’m talking about the effort to productivity ratio. This is a product you can install and use straight away to create really good help files. (To be fair I haven’t tried any others to compare it with...
Why A9 is not gonna cut it
OK, so I really like some of the ideas behind A9 (the history, diary, references are great) but speed is why it is not going to be a success.It’s too slow. And by slow I mean it takes more than a second to display resources.Google is king due to speed (search result accuracy is not really a factor).A9 needs to pick up speed by a factor of 5 atleast if it is going to be competitive.Its only...