View Full Version : [SOLVED:] VB6 Form: Remove the option button selection square thingee
Can't seem to Google the right thing so... How to get rid of the dotted box thingee that surrounds the text of a selected option button that is located on a VB6 form? The form is the container for 2 buttons and etc. I can't seem to find the right property or maybe it's just one of those aesthetically annoying impossiblities that I should learn to live with? Anyways, any help would be appreciated. Dave
It maybe should have been obvious but the square thingee is the setfocus indicator for the option button. You can "remove" it by coding the option button selection to set the focus to a different non-option button control. I guess this can't be resolved by a properties setting. This thread seems solved unless anyone has a more elegant solution. I'll leave it for a while before I mark it as solved. Dave
Fake it. Shrink the Option button down till you can only see the selection circle and use a Label control for the Caption part. Use the label click event to set the value of the Option Button. No one but you will know the difference.
Thanks SamT. A simple solution from outside of the box. I'll mark this thread solved. Dave
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.