Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NoDefault () and DoDefault()
Message
From
29/02/2000 12:33:10
 
 
To
28/02/2000 15:57:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00338552
Message ID:
00339236
Views:
21
>>>Stacy,
>>>
>>>Your otherwise can be empty, a NODEFAULT followed by a DoDefault() does nothing to alter the default behavior. Try dumping the otherwise all together.
>>
>>
>>I thought it should not alter the behavior, but the code does not produce a key press at all.
>>
>>I understand that it would work to remove the otherwise statement, but now I will need to find all cases in my code where I have used this syntax.
>>
>>Do you think that NoDefault DoDefault() in the keypress event should produce a normal keystroke?
>
>You should pass the parameters that the code expects; since it's a keypress, it should do
> nodefault
> dodefault(nKeyPress, nCtrlShiftAlt)
>
>But then, it can be safely omitted, because the nodefault/dodefault combination is unnecessary.

Thanks Dragan,

I think this is what I was looking for...
Thanks,

Stacy



Black Mountain Software, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform