devxlogo

Sizable Forms Without a Title Bar

Sizable Forms Without a Title Bar

If you set a form properties caption to “” and controlbox to False, then a form with borderstyle 3 (fixed dialog) willdisplay without its title. Unlike borderstyle zero (none), itkeeps the form’s 3-D properties. If you do this with a borderstyle5 (sizable toolwindow) form, then you have a completely resizable(down to 1×1 twip) form.

This can also be done from your code in run time. Adding or removingthe caption will add or remove the title bar. Be aware that thistriggers a form resize event, and that the task bar caption willalso be blank. Finally, remember to put a close button on yourform!

See also  5 Ways to Improve Customer Experience
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist