Hi Dan.
One workaround is to remove the text from your checkbox - radiobutton control and resize it to use only the space it takes without text. Then add a static text with the appropriate text. I understand this is a huge change, especially if you have to make that change to many controls. But you could create a custom visual object to make this easier. Then you would have to change the "type rb_xxxx from radiobutton" to something else (the name of your custom visual object).
Depending on the events - properties you currently use and the one defined in your custom visual object this could be easier or harder.
Also, take in mind that there is a difference if you split text from checkbox or radiobutton to a static text. Normally a radio button or a checkbox will be selected (checked) even if you click on the text (that's why you see that rectangle). But if you want that to happen with a custom visual object built with a radio button and a static text, you will have to implement that logic by your self.
That's a very generic description of the workaround I have in mind.
Andreas.
If you'd "protect" the control (using the protect attribute), wouldn't that make it impossible to change the value?
regards. Or maybe you're saying to set the taborder to 0 and coding the clicked() event?
regards.
I don't believe that John refers to the protect attribute, as this one exists for datawindow controls.
Standart controls can be "protected" by making them disabled or by removing the tab as you mentioned.
Andreas.
thanks for clearing that up Andreas.
regards