Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Aug 8, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Sizable Forms Without a Title Bar

If you set a form properties caption to "" and control box to False, then a form with borderstyle 3 (fixed dialog) will display without its title. Unlike borderstyle zero (none), it keeps the form's 3-D properties. If you do this with a borderstyle 5 (sizable toolwindow) form, then you have a completely resizable (down to 1x1 twip) form.

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

Clint Walker
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date