9

The LA Fox Developer Newsletter
March 1996
Death of FoxPro (Con’t from page 7)

Developers Toolkit Beta exam #71-69 is being delivered worldwide through March 7, 1996. Successful passing of this beta exam applies toward elective credit for the Microsoft Solution Developer certification.
7. Visual C++ or MSDN Subscribers? Address Book Changes
The addresses and phone numbers for Visual C++ and MSDN Subscribers have changed. Please use this new contact information if you have questions about these programs:

MSDN
P0 Box 5549
Pleasanton, CA 94566-1549
Phone: 800-759-5474 Fax: 510-275-0762

Visual C++
P0 Box 5479
Pleasanton, CA 94566-1407
Phone: 800-719-5577 Fax: 510-275-0762

Street Address (in case you want to send something via overnight mail regarding either MSDN or VC++) 2440 Camino Ramon, Ste. 200, San Ramon, CA 94583.

DevWire is a list server for developers. You can subscribe to this free service to receive headlines of developer-related news, events, and information from Microsoft over electronic mail. DevWire will provide you with short descriptions of some of our latest material on the For Developers Only, Microsoft’s developer Web site as well as timely iRformation as it becomes available. You may want to add the DevWire Page site to your list of frequently visited Web sites, as it will always contain the latest edition of the DevWire electronic newsletter with pointers to other pages within our Web site and elsewhere on the World Wide Web that contain additional information about each topic. The address is http://www.microsoft.com/DevWire. To subscribe to DevWire, register at our web site or send e-mail to DevWre@microsoft.nwnet.com. with “Subscribe DevWire” in the message body. To stop receiving the DevWire mailings, send e-mail to the same address with “Unsubscribe DevWire” in the message body.
Hot Tip
VFP Combo Boxes
by Michael Meer
Last week, I was in Nevada working on a project. Everything was going great except that the comboboxes were not responding to the valid events I had put in them. It was strange... If I dropped down the list, the valid event would fire and thus the system could control the data. However, if I typed in a few characters, found the line I wanted and then hit [enter], the combobox valid event didn’t fire. Worse, if the box was empty and I had a valid event preventing empties, I could bypass the valid event by using the mouse or the tab key.

It turns out that the comboboxes valid events are not fired when the user exits the object with a mouse click or the tab key. So... How do you get around this problem? Easy, you just “tire” the valid event from the lost focus event. The only downside of this technique is that if the valid event is complex, it will get executed twice. Below is the example code. Note the use of NODEFAULT in the lost focus method. This code prevents the user from moving to the next object.

Valid Method
RETURN (NOT EMPTY(THIS.value))

Lost Focus Method
LOCAL lreturn
Ireturn = THIS.valld()
IF NOT lreturn
Message here
NODEFAULT
ENDIF
RETURN Ireturn


It Can’t Get Any Easier.......
We’ve come up with an easy way to submit articles to the LA
Fox Developer Newsletter one that has been overlooked for
a long time.

You can submit your articles to Barry Lee at CIS# 72723,3422 on Compuserve.

These articles can be on any FoxPro-related topic, whether it concerns a new technique you’ve discovered, a certain development technique you may favor over others, book reviews, etc. Editor reserves the right to edit or offer constructive comments concerning submitted articles and accepted articles shall be considered to be in the public domain.

The quality of this newsletter really depends on the members that support it, not just read it. And I think we’d all be surprised by the useful information that could be circulated around the membership.

So..
How ‘bout it?
Help Wanted

MicrocomputerEngineering Services, LLC (MES), special izes in highly-customized mission critical software. We are looking for experienced, cost-effective FPW2.6NFP developers who are able to work with minimum supervision after an initial train-ing period. Initial training period would be at our offices in Huntington Beach. We are looking for people with 25-40 available hours per week. Contact us via CompuServe (CIS# 72723,3422 or 72723.3422@compuserve.com) or by faxing us you resume at 714/375-3302.
Page 9

9