Skip to main content

[archive] check box outline

  • February 13, 2008
  • 5 replies
  • 0 views

[Migrated content. Thread originally posted on 13 February 2008]

I have looked several places and cannot find many options on how to get the outlines for a checkbox to change. Is there anyway using a setting or config value that I can get it so my dashed/grey outline is around the text and the check box? Right now we get the outline around just the check box label text.

Note, we are using thin client 7.2, developing in 6.2 and using left text. ...though I have tried other options for text placement and other settings like flat that did not impact what I was trying to do.

Thanks, Mike

5 replies

[Migrated content. Thread originally posted on 13 February 2008]

I have looked several places and cannot find many options on how to get the outlines for a checkbox to change. Is there anyway using a setting or config value that I can get it so my dashed/grey outline is around the text and the check box? Right now we get the outline around just the check box label text.

Note, we are using thin client 7.2, developing in 6.2 and using left text. ...though I have tried other options for text placement and other settings like flat that did not impact what I was trying to do.

Thanks, Mike
The "outline" is a feature of Windows itself. It is used to identify the focus on the screen. As it is a Windows feature, it cannot be changed. If you look at for instance the setup dialog in Outlook Express and tab around one with checkboxes, you will see that the "outline" is around the text only.

[Migrated content. Thread originally posted on 13 February 2008]

I have looked several places and cannot find many options on how to get the outlines for a checkbox to change. Is there anyway using a setting or config value that I can get it so my dashed/grey outline is around the text and the check box? Right now we get the outline around just the check box label text.

Note, we are using thin client 7.2, developing in 6.2 and using left text. ...though I have tried other options for text placement and other settings like flat that did not impact what I was trying to do.

Thanks, Mike
I had seen this in other applications too, just didn't know it was Windows controlling that. I was hoping it was something we could adjust. Thanks.

[Migrated content. Thread originally posted on 13 February 2008]

I have looked several places and cannot find many options on how to get the outlines for a checkbox to change. Is there anyway using a setting or config value that I can get it so my dashed/grey outline is around the text and the check box? Right now we get the outline around just the check box label text.

Note, we are using thin client 7.2, developing in 6.2 and using left text. ...though I have tried other options for text placement and other settings like flat that did not impact what I was trying to do.

Thanks, Mike
There is a way in Vista and XP. In your display settings you can turn of this and the underlining of hotkeys. This will of course be a systemwide change though. Personally I prefer to have it.

[Migrated content. Thread originally posted on 13 February 2008]

I have looked several places and cannot find many options on how to get the outlines for a checkbox to change. Is there anyway using a setting or config value that I can get it so my dashed/grey outline is around the text and the check box? Right now we get the outline around just the check box label text.

Note, we are using thin client 7.2, developing in 6.2 and using left text. ...though I have tried other options for text placement and other settings like flat that did not impact what I was trying to do.

Thanks, Mike
There is a way in Vista and XP. In your display settings you can turn of this and the underlining of hotkeys. This will of course be a systemwide change though. Personally I prefer to have it.

[Migrated content. Thread originally posted on 13 February 2008]

I have looked several places and cannot find many options on how to get the outlines for a checkbox to change. Is there anyway using a setting or config value that I can get it so my dashed/grey outline is around the text and the check box? Right now we get the outline around just the check box label text.

Note, we are using thin client 7.2, developing in 6.2 and using left text. ...though I have tried other options for text placement and other settings like flat that did not impact what I was trying to do.

Thanks, Mike
I have devised a rather easy solution, though it may be more than some people are willing to put in to all check boxes.

- Simply create a label for the check box text rather than using the check box title.
- Have only the checkbox showing.
- Create a frame with no title around both the check box and label text. Set the frame to visible false.
- use both an after and before procedure. The before procedure sets the frame visible true. The after obviously sets it visible false. From what I can tell in some quick test, this appears to work whether using tab order or directly clicking in or out of the check box.

This allows any placement of the text and the ability to outline both the text and check box. Note that changing the frame color to a dark grey seems to make it look a little better.

If anyone has any further suggestions on this or finds any issues, please let me know.