Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NoDefault
Message
 
To
20/10/2002 15:05:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00713324
Message ID:
00713347
Views:
18
when you send a NODEFAULT this means that you don't want the event to do what it is supussed to do, or what you told him to do, e.g.
in the KeyPress event if you do something like this
*KeyPress event
if nkeyCode = 65 Then  && This is the code for the [A]
    NODEFAULT
endif
you are telling the event that if the pressed key wa the capital [A] just avoid it. The event is supused to write the A in the control where you are or in the buffer, but if you send a NODEAFULT then you r saying "For get about the last key, ok"

hope this makes sence
.......
DO WHILE .T.
      ME.Work()
ENDDO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform