I'm creating checkboxes on the fly and, unfortunately, there is no autosize property. The caption I assign to each checkbox varies in length and I'd like to make the width of the checkbox so that it fits snug with the caption.
Right now I'm taking the length of the caption * 5...and that holds off fine, but when I get longer captions, the width of the checkbox gets longer and I don't want any scrollbars......
thanks in advance
Right now I'm taking the length of the caption * 5...and that holds off fine, but when I get longer captions, the width of the checkbox gets longer and I don't want any scrollbars......
thanks in advance