hi,
thank you for reply,
i try it not work.
>>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'.