Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Required Fields?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017517
Message ID:
00017546
Views:
74
>>Hmm...I tried this and it worked. I tried the exact same code before without the 'nodefault' and it didn't work. Well, hey, I still say there should be some sort of 'required' attribute for controls, but this seems to work so I guess this is what I'll use. Thanks Bruce, Michael, and everyone else for their assistance!
>>
>
>What exaclty is NODEFAULT and what does it do? I did a search of the online help and the master index, and can't find it.
>
>Jeff Rusch

NODEFAULT is the opposite of DODEFAULT. It prevents the default method or event from firing. In this case, since we have nodefault after our messagebox, the lostfocus method AND event stops there, so the control never looses focus.

In the Visual Foxpro 5 help index, i found nodefault (it's actually under the "DEFINE CLASS" listing, but when you type "help nodefault", that is what comes up. If you look towards the bottom of this, you'll see NODEFAULT defined.

Michael G. Emmons
memmons@nc.rr.com
Previous
Reply
Map
View

Click here to load this message in the networking platform