>hi all,
>
>i have olecontrol1(calendar) at my form,
>
>i use this code via olecontrol1 click event it works ,but at keypress not,
>i need to run it with somthing as keypress.
>
>
>thisform.text8.value= TTOD(This.object.value)
>
>
>
>thanks
Check if the OleConrol has other methods you can use, something like 'KeyDown'.
If it's not broken, fix it until it is.
My Blog