D
DC
Hi all.
I've built a class based on "Control" and I want this object of mine to be
selectable. I believe that, by default, Control is non-selectable so I used
this.SetStyle(ControlStyles.Selectable, true);
And it works fine when I use TAB key, but when I click on my object, the
focus remains on the current object.
What am I doing wrong?
TIA
I've built a class based on "Control" and I want this object of mine to be
selectable. I believe that, by default, Control is non-selectable so I used
this.SetStyle(ControlStyles.Selectable, true);
And it works fine when I use TAB key, but when I click on my object, the
focus remains on the current object.
What am I doing wrong?
TIA