HI Yu,
First of all thanks to you for sparing your valueable time.
Secondly, I think i was not clear
My Problem is i have a property grid in which i have properties like Length,Width,Diameter etc...
I have a Gridview in which i can see errors
Scenario is whenever i will enter any wrong value for property in the property grid i will get a error popped up in my grid view
For Ex:- If i will enter width as 20 and i am entering Length as 50 i will get a error in the grid view say
"Length can not be more than 50" or something like that
On click of that error i want to set focus to paritcular property which is generating error
In this case i want to set focus to Length property.
Now i am able to set focus to a particular property in the property grid [fig (a) below],
but i can not see the cursor blinking in front of the property like in [fig (b) below]
For Ex:-
(a) Length 50
(b) Length |50
i want to achive fig (b) instead of figure (a)
And i have seen your code snippet i think that will set focus to property grid item but not to the text areain front of it
Though your code is fine as it will set focus and without clicking on text area we can edit values but you know clients are clients he want the above thing, myclient wants to see the cursor blinking in the textarea whenver focus is set to a property