Ever needed a Lostfocus event/method on an Optiongroup control? Well, there is no.
But you can simulate it in this way:
Put the Optiongroup inside a Container control with BorderWidth=0, making the Container invisible.
The Container has a Lostfocus event firing when the Optiongroup is losing focus to another control.
The same goes for the Gotfocus event/method.
I never needed a Container control on a form before, but in this case it comes in handy.
But you can simulate it in this way:
Put the Optiongroup inside a Container control with BorderWidth=0, making the Container invisible.
The Container has a Lostfocus event firing when the Optiongroup is losing focus to another control.
The same goes for the Gotfocus event/method.
I never needed a Container control on a form before, but in this case it comes in handy.