>i have a problem at valid event !!!
>
>i have two CONTAINER inside my form.
>
>1. CONTAINER1 with a TEXTBOX1
>
>2. CONTAINER2 with a GRID1.
>
> the program inside the GRID1.COLUMN1.TEXT1.VALID as below:
> *****
> if empty(this.value)
> return .f.
> endif
> *****
>
>i found that the cursor can not move to another field (cell) while the field empty. BUT why i can click on CONTAINER1.TEXTBOX1 and the cursor can go into it, when my field is empty also.
>
>the VALID event is to control the field must be fill in, but why I can click to another CONTAINER1.TEXTBOX1 (lost control) ???
Hi there,
Put the same check in Grid's VALID(). I know that it works.
Bye
Jayesh
- Jayesh