datagrid inherited control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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....
 
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?
 
I'm trying to do the event onmousedown.... that it is being ignored on the
first click

Nicholas Paldino said:
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]
- (e-mail address removed)

"Diogo Alves - Software Developer"
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....
 
Back
Top