Mike Lucek wrote:
How do you prevent the dotted border from appearing around the caption when a checkboz or radiobutton is clicked?
That's normal Windows behavior for these controls when they receive the input focus, I'd caution strongly against changing that.
But if you feel you must, probably the simplest thing to do is send the focus somewhere else innocuous whenever one of them is clicked.
Are you ignoring the keyboard interface for these? Sending the focus elsewhere will tend to break up your tab order.
Otherwise you can investigate doing OwnerDraw on these and not drawing the focus rectangle as part of that, but again, you'll be violating a lot of UI standards not having a focus indication.
Stephen Posey [EMAIL PROTECTED] _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

