Mike, I always do my checkboxes in this way, as I don't like the way that their text changes to disabled when the control gets disabled, making them different to other disabled controls on the form. Unfortunately, as indicated by someone earlier in this thread, there is no way for the user to determine when the control has focus.
Regards, Darren -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Lucek Sent: 09 July 2005 04:40 To: 'Borland's Delphi Discussion List' Subject: RE: Checkboxes & Radiobuttons This is a user request, they don't want to see the focus on the control. They consider a dotted border around the caption is not visually acceptable. The only way I can prevent it, is not to have a caption but a label next to the checkbox or radiobutton. Which then means adding a heap of unnecessary labels onto the form. Mike -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Kennedy Sent: Saturday, 9 July 2005 1:57 AM To: Borland's Delphi Discussion List Subject: Re: Checkboxes & Radiobuttons Mike Lucek wrote: > How do you prevent the dotted border from appearing around the caption when > a checkboz or radiobutton is clicked? You mean the line that gives the user a visual cue as to which control currently has the focus? Why would you want to hinder the user that way? Newer versions of Windows already hide the focus indicator, but as soon as the user starts using the keyboard for navigation (pressing Tab or Alt, or using the arrow keys), the focus and accelerator-key indicators re-appear. -- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

