Resize form to fit its caption

Viewed 154

How can I determine the required width of a Delphi/C++ Builder form so its caption fits? I'm using C++ Builder Pro 10.4.1. Note I am using VCL styles (skin) so not sure if a generic Windows solution will work (not that I could find one). Thanks!

0 Answers
Related