I have made a button with the property CanFocus and I need to prevent the
button to receive focus if this property is false, then component is based
on a TWinControl.
Regards From
Michael Andersen
Denmark.
Disable it. Button1.Enabled := False;
> I have made a button with the property CanFocus and I need to prevent the
> button to receive focus if this property is false, then component is based
> on a TWinControl.
If you really don't want your button to receive focus, try using a
TSpeedButton instead. They work like TToolButtons. However, keep in mind
that your button cannot be pushed by tabbing to it and pushing the space
bar, which is what some power-users do who don't want to bother with the
work invoved in moving the mouse.
--Rob
Rob Kennedy <kenne...@NOSPAMhotmail.com> skrev i en
nyhedsmeddelelse:7h8gpp$nj...@forums.borland.com...