Automatically Resizing Control buttons at runtime
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 ??????
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL