Cellfocus on a Listbox

Hi team!

How can I use the CellLostFocus on a Listbox?
I want to enable a button when the Listbox GotFocus, and Disable button when LostFocus.

Any ideas?

the CellLostFocus event id fired on editable cells, when the editable cell looses focus having the user typed Tab, Return, or Escape.
or if it has clicked on another cell
so the event is linked to editable cells…

[quote=204286:@Giulio Mastrosanti]the CellLostFocus event id fired on editable cells, when the editable cell looses focus having the user typed Tab, Return, or Escape.
or if it has clicked on another cell
so the event is linked to editable cells…[/quote]
So, I got it this event is for editable cells, but for my case, what do you suggest?

Regards

Just use the normal GotFocus and LostFocus events. Assuming, of course, you’re on an OS that allows a listbox to get focus. More info would be helpful.

Yes It works,Thanks a lot ;D