Automatic Adjustable Label Width

ceaser

Active Member
Licensed User
Hi

I have a little routine that puts a border around my Panels. On my panels I then display all the input text boxes.

My problem is that I am displaying the Title of the Panel - ie. Coordinate Input, Tachy Survey, Horizontal Alignment, etc. in a Label that sits in the top right corner of the screen. In Visual Studio they call it a frame.

What must I do so that the width of the Label ajust automatically to the length of the text that is displayed there?:sign0085:

Thanks
Michael
 
Top