Hi, Is it possible to disable a button outline when it receives focus? In fact, it is not a button I am using,
I am using SpinButton (COM Control) and as I need it to be very small, when the spinbutton gets focus,
it is outlined and the SpinUp and SpinDown arrows get covered up byt the outline. I tried overriding
the SpinButton control to disable ShowFocusCues. But it is read-only, so I got in a dead end. Any ideas?
Code Block
namespace
MeuSpinButton
{
public class MeuSpinButton : AxMSForms.AxSpinButton
{
public bool ExibirOutline
{
get
{
return base.ShowFocusCues;
}
set
{
base.ShowFocusCues = value;
}
}
}
}