Archive for April, 2005

Backspace in VFP

Posted on April 25, 2005. Filed under: Visual FoxPro |

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, [...]

Read Full Post | Make a Comment ( None so far )

CodeCampOz

Posted on April 25, 2005. Filed under: Visual FoxPro |

Updated: I had the wrong MSDN link – fixed now
I 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 [...]

Read Full Post | Make a Comment ( None so far )

Backspace in VFP

Posted on April 25, 2005. Filed under: Visual FoxPro |

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, [...]

Read Full Post | Make a Comment ( 2 so far )

CodeCampOz

Posted on April 25, 2005. Filed under: Visual FoxPro |

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 [...]

Read Full Post | Make a Comment ( None so far )

Do not fill out the VFP survey!

Posted on April 6, 2005. Filed under: Visual FoxPro |

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 [...]

Read Full Post | Make a Comment ( None so far )

Do not fill out the VFP survey!

Posted on April 6, 2005. Filed under: Visual FoxPro |

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 [...]

Read Full Post | Make a Comment ( None so far )

INSERT into a view on joined tables in VFP

Posted on April 4, 2005. Filed under: Visual FoxPro |

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 [...]

Read Full Post | Make a Comment ( None so far )

Stop backspace in VFP

Posted on April 4, 2005. Filed under: Visual FoxPro |

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 [...]

Read Full Post | Make a Comment ( 1 so far )

Binding to VFP9 System events

Posted on April 4, 2005. Filed under: Visual FoxPro |

Here’s a link to Scott Scovell’s whitepaper and code from the Sydney VFP UG last week
http://www.svfpug.com.au/assets/2005Mar/Scott%20Scovell%20-%20Binding%20to%20Windows%20Message%20events.zip
Scott is our Chief Software Architect at Talman
See also the UG site
www.svfpug.com.au

Read Full Post | Make a Comment ( None so far )

INSERT into a view on joined tables in VFP

Posted on April 4, 2005. Filed under: Visual FoxPro |

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 [...]

Read Full Post | Make a Comment ( None so far )

Stop backspace in VFP

Posted on April 4, 2005. Filed under: Visual FoxPro |

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 [...]

Read Full Post | Make a Comment ( 1 so far )

Binding to VFP9 System events

Posted on April 4, 2005. Filed under: Visual FoxPro |

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

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...