Solved

How to give my form an organic shape ?

Posted on 2000-04-30
5
186 Views
Last Modified: 2010-05-18
I want to give my delphi form an organic shape.
How do I do that ?
What if I also want a permanent canvas ?
0
Comment
Question by:Azerthur
5 Comments
 
LVL 17

Expert Comment

by:inthe
ID: 2764345
have a look at coolform:

http://www.lawrenz.com/coolform/
0
 
LVL 1

Author Comment

by:Azerthur
ID: 2764364
sorry I have delphi 3 only !
0
 
LVL 3

Accepted Solution

by:
ckaneta earned 10 total points
ID: 2765162
Coolform does actually have a delphi3 version I believe, but here is another one anyhow

http://practicalsoft.hypermart.net/shareware/delphi/orgshape.zip
0
 
LVL 3

Expert Comment

by:ckaneta
ID: 2765168
and then, of course, there's the one I use:
http://www.torry.webnorth.com/vcl/forms/plasma.zip
0
 
LVL 1

Expert Comment

by:DonBartholomew
ID: 2768559
Here's sompe code for a polygone as a weird shaped window. That's not exactly organic, but let yer imagination work.

procedure TForm1.FormCreate(Sender: TObject);
var
   lPoints: array [0..11] of TPoint;
begin

    (* Define the lPoints of a W shape *)
    lPoints[0] := Point(0  , 0   );
    lPoints[1] := Point(50 , 0   );
    lPoints[2] := Point(180, 200 );
    lPoints[3] := Point(218, 100 );
    lPoints[4] := Point(256, 200 );
    lPoints[5] := Point(385, 0   );
    lPoints[6] := Point(435, 0   );
    lPoints[7] := Point(256, 300 );
    lPoints[8] := Point(218, 200 );
    lPoints[9] := Point(180, 300 );

    (* Define the region *)
    prRegion := CreatePolygonRgn(lPoints,// This a pointer to the previously defined lPoints
                               10,//  The number of lPoints
                               ALTERNATE);// The mode to be used for filling the window/polygon

    (* Set the window to have the above defined region *)
    SetWindowRgn(Handle,// The handle of your form
                 prRegion,// The handle of your defined region
                 True);// Indicates the window is to be redrawn now
end;


procedure TForm1.FormDestroy(Sender: TObject);
begin
    DeleteObject(prRegion);
end;
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now