Thanks I solved problem, Actually I was suppose to icrete curor before form initialise. which i realise after R&D.
>>Hi Hilmar,
>>
>>I solved my problem by putting in lostfocus false condition.
>>nodefault
>>this code keep cursor on same text if condition fail on lost focus.
>>Could you reply my new thread for grid problem please.
>>
>>Thanks,
>
>Can you tell me the message or thread number?
>
>Hilmar.
Sajjad Ahmad