Thanks Craig.
Beuark! I have to put this in every textbox ?!?!
>Yes, it is possible. In the Valid event of the textbox, put:
>
>This.Value = This.Value
>
>
>
>
>>I am using the KeyPress method of a form to control PgUp and PgDOwn to go to the next or previous tab of the current pageframe. The form KeyPreview propoerty has been set to true.
>>
>>My question is: Is it possible that, if a user is in a field (a textbox within a grid in this case), and he pressed pgup for example, the value of the textbox is not changed, even if it is visible on screen? I don't see the changes in the underlying field.
>>
>>If it is the case, how can we force a field to be "entered" ?
>>
>>thanks
>>Eric