Hello,
I inherited a control from C1Combo and override two methods as follows :
protected override void OnEnter(EventArgs e) {
base.OnEnter(e);
this.EditorBackColor = Color.Red;
}
protected override void OnLeave(EventArgs e) {
base.OnLeave(e);
this.EditorBackColor = Color.White;
}
When the control gets the focus, it changes the editor back color to red, but only for a fraction of a second, then it changes back to normal color. How can I set the EditorBackColor to a color that will remain ?
(I use C1.Win.C1List.2.dll version 2.1.20072.126)
Thanks for your time,
DM