>Once issued does nodefault become global, or just limited to a particular context?
>
>for MyTextBox1
>proc keypress
>if the key is 24 && the down arrow key
> go to the listbox
> nodefault
>endif
>
>So now every time the down arrow is pressed, the focus moves to the listbox, even
>if the down arrow is pressed when in myTextBox2?
>
>Thanks
>Steve
It is limited to the place you put it. If you put it in the textbox1 instance, it would be for this textbox only. If you put it in your textbox class, all textboxes would exibit this behavior unless you override it...
If it's not broken, fix it until it is.
My Blog