How to Create Rounded Form
How to Create Rounded Form
procedure TForm1.FormCreate(Sender: TObject);
var
f : HRGN;
begin
Form1.Borderstyle := bsNone;
f := CreateRoundRectRgn(
0, // x-coordinate of the region’s upper-left corner
0, // y-coordinate of the region’s upper-left corner
clientwidth, // x-coordinate of the region’s lower-right corner
clientheight, // y-coordinate of the region’s lower-right corner
40, // height of ellipse for rounded corners
40); // width of ellipse for rounded corners
SetWindowRgn(Handle,f,True);
end;
Download: Source Code
You can create a gradient filled form to make form that is m...
Feature overview: - Office 2007 checkbox & ra...
SXSkinComponents is a set of visual components. But it's not...
The FormMagnet allows to magnetize your forms to an edges of...
TableReport is a band-oriented report generator for Delphi 5...
Wednesday 07 Mar 2007 | Delphi Tutorial | Forms