>>>Hi evrybody,
>>>
>>>When the user enters data into the field, if the maximum length of the field is riched, the entering is continuing in the next field. How can I prevent it, e.g. when the maximum length is riched, the cursor stays in the field and no more keystrokes are accepted?
>>>
>>>Thanks in advance.
>>
>>
>>SET CONFIRM ON
>>
>>
>>HTH
>
>It doesn't fire Valid and LostFocus when the last symbol is typed, so I can not use it.
So you need to fire one of this events and stay in the control?
Then the suggestion with condition check on the interactivechage event is appropriate to your situation.
Kind Regards
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!