1

In this issue
Teach an Old Fox New Tricks
FoxPro Q&A
A Little Humor
Out and AboUt
by Barry R. Lee


Page 3
Page 6
Page 7
and much more
The LA Fox Developer
A Newsletter for FoxPro Application Developers in Southern California Visit our WebSite at: http://www.mesllc.com/lafox.html August 1998
The August meeting of LA Fox will be held on Aug. 17, 1998, at 6:30 PM at our regular meeting place (the Torrance Airport, 3301 Airport Drive, in Torrance). For details on how to get there, see the map on the back page.
Data Entry TEXTBOX Class
forY2K
by Judy Denison, RMFUG

More on Y2K: Here’s a Date Entry Textbox class (VFP 3.0/
5.0), incorporating some suggestions Jim Slater made during
his excellent presentation at the last Rocky Mountain Fox User
Group meeting.

The date format is set in the Windows Regional Settings (U.S. or Canadian), and carried through by SET SYSFORMATS ON in the form Load().

The value of nRolloverYear for the class may be overwritten for an individual object, for instance for a birth date field.

If other code is necessary in a Date Entry Textbox object Valid() method, insert this code at the beginning:
* Stay on field If not a valid date
IF NOT DateTextBox::Valid()
RETURN .F.
ENDIF

I’ve plunked this object down in 34 spots so far, replacing the plain textbox that was there before.

You may be able to incorporate this code into your regular textbox, using IFs to test whether it is for a date field.


New class: DateTextBox
Parent Class: pvsTextBox
Properties:
nRolloverYear (=1920)
Year before which 100 years are added to date cNotify
Original setting of SET(’NOTIFY’)
Methods:
lnteractiveChange()
ValidO
When()
Format:
DK
(Con’t, page 4)
At LA Fox...

August 17, 1998,6:30 PM, Mike Vincent. Using ActiveX
Components with Visual FoxPro. ActiveX components can enhance your VFP applications with a minimum of effort. We’ll walk through a review of components available from dbi-Technologies, Microsoft and others to show you what’s available that really works with VFP. Then we’ll look at how ActiveX controls are implemented in VFP and look at the code for a couple of examples.


Elsewhere...

O.C. Fox, AUGUST 19, Wednesday SPECIAL MEETING! - Doug Hennig of Stonefield Systems Group. Doug is the author of Stonefield Database Toolkit, as well as some other cool tools. He puts on a great presentation. A must-see just in time for the 2nd Annual Southern California Visual Foxpro Conference. (Ed.Note: Orange County FoxPro Developers Group normally meets at 7:00 PM on the 2nd Wednesday of each month at the Hard Disk Cafe at Ingram Micro, 1600 St. Andrews, Santa Ana. From anywhere, take a freeway until you get on the 55 between the 5 and the 405. Exit the 55 at Edinger and go WEST on Edinger. Turn left on Grand, go to the next lite, and left on St.Andrews. We meet in the Ingram Micro building to your right. Go around to the east side of the building, and enter thru security.)

August 19-20, 1998, “You Can Teach an Old Fox New Tricks”, DoubleTree Hotel, Costa Mesa, CA. If you don’t

1