>Victor
>
>Other case is: use a timer & put it this code per example:
>
>IF thisform.image1.Left=660
> sw=1
>ENDIF
>IF thisform.image1.Left=0
> sw=0
>ENDIF
>IF sw=0
> thisform.image1.Left=thisform.image1.Left+1
>ELSE
> thisform.image1.Left=thisform.image1.Left-1
>endif
>
>And declare the var sw as public in the load.
Sergio:
Could you please surround your code samples within < pre > tags? It makes it much easier to read. Thanks.
Example:
IF thisform.image1.Left=660
sw=1
ENDIF
IF thisform.image1.Left=0
sw=0
ENDIF
IF sw=0
thisform.image1.Left=thisform.image1.Left+1
ELSE
thisform.image1.Left=thisform.image1.Left-1
endif
Don't you think?