I am having a problem with a program in which I have to create a group of
option button controls at runtime and put them in the same frame container.
The problem is resizing the individual option buttons depending on the size
of the caption that each needs to display which can vary a lot. With a label
it is easy by using the autosize and wordwrap properties of the control but
I am not sure how to set the option buttons to the appropriate width and
height depending on the size of their caption property. Does anyone know
of a way to automatically resize option button controls at runtime depending
on the size of the caption they have to display ??????
Please help....