Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What? NODEFAULT ?
Message
From
25/06/1996 07:08:51
 
 
To
25/06/1996 06:50:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00002865
Message ID:
00002867
Views:
35
>What exactly does the NODEFAULT statement do ?

as its name implies it prevents the defualt action from taking place e.g
let say u modified the keypress event of a textbox sub-class
and among other things you called the keypress event the
regular VFP txtbox [txtbox::keypress(key,altctrlshift)]
if u will not include the NODEFAULT the key will be processed
again (the effect will be as if u pressed the key twice)
including NODEFAULT will prevent the keypress event to continue
it normal course (after the code u added)
Previous
Reply
Map
View

Click here to load this message in the networking platform