Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

i want make form in Circle

Posted on 1998-12-02
4
Medium Priority
?
156 Views
Last Modified: 2010-04-04
i want make form in circle or other form, not rectangle (Ex Norton Crash Guard)
0
Comment
Question by:jamiguel
  • 2
4 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 1348962
hi  jamiguel,

look at CoolForm on
Delphi Super Page
or
Torry Pages

other Experts can give the URL
(i haven't it on this PC)

meikl
0
 

Accepted Solution

by:
guntherDS earned 0 total points
ID: 1348963
Here's a tip: more than one year ago there were some articles in 'The Delphi Magazine' about this topic, maybe you can find some useful information in that article (Issue 25, September 1997).
The complete code for this topic can be found on the site: www.itecuk.com

0
 
LVL 4

Expert Comment

by:erajoj
ID: 1348964
It's very, very easy:

procedure TMainForm.FormCreate(Sender: TObject);
var
  Region : hrgn;
begin
  Region := CreateEllipticRgn(0, 0, ClientWidth, ClientHeight);
  SetWindowRgn(Handle, Region, True);
end;

That's it.

/// John
0
 
LVL 4

Expert Comment

by:erajoj
ID: 1348965
Did the answer really help you?
I searched the "www.itecuk.com"-site and didn't find any source code at all!?
Just making sure you get what you came for...

/// John

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

783 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