1. Home
  2. Computing & Technology
  3. Delphi Programming
photo of Zarko Gajic
Zarko's Delphi Programming Blog

By Zarko Gajic, About.com Guide to Delphi Programming since 1998

Create a Resizable Delphi Form with No Border

Thursday July 9, 2009
TIPS :: By default, forms include maximize and minimize buttons, a resizable border, and a menu that provides additional commands to resize the form.

The bsNone value for the BorderStyle property is used when you want to remove the Border and the caption bar from the form - leaving only the content visible. This setting is commonly used when creating a splash screen. One downside to setting the bsNone value for BorderStyle is that such forms cannot be resized!

There may be situations when you want to remove a form's border (and title bar) *but* still leave the option for a user to resize the form. Here's how...

Read the full article to learn how to Create a Resizable Delphi Form with No Border

Related:

Comments

April 29, 2006 at 8:20 am
(1) Shawn Jones says:

Neat trick. However it looks like a one pixel border persists giving the illusion of being sunk in by one pixel. Is it possible to get the resizing functionality with no edge pixels visible – pure flat form.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.