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:
00017549
Views:
66
>
> >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

Jeff,

Let me try.

When you write code to an object on a form, you link it to one of the
events, in fact this code will be executed before the 'default'
procedure of this event. If you issue NODEFAULT in your snippet, you
really tell VFP not to execute this default procedure.

For example if you write nodefault in the KEYPRESS event, the character
will not be echoed to the screen.

HTH,

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Reply
Map
View

Click here to load this message in the networking platform