Diogo,
It's possible that this is the case. It depends, are you trying to do
something based on a particular cell having focus, or on the control itself
having focus?
Which events are you trying to process?
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Diogo Alves - Software Developer"
<Di*************************@discussions.microsoft .com> wrote in message
news:6D**********************************@microsof t.com...
Hi I made a calendar with a inherited control from a datagris... I am
having
a problem. When I click on the datagrid the first time, and on the second
time he does what should be done at first?
I think it is a focus problem.
How can I solve... I already tried something like calendar.focus(); or
calendar.select() but it's no use....