Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Required Fields?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00017517
Message ID:
00017549
Vues:
70
>
> >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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform