>>>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.