Solved

i want make form in Circle

Posted on 1998-12-02
4
151 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SUM 2 INTEGER ARRAYS INTO 1 10 108
Wincontrol not (correctly) drawn 15 40
DBCtrlGrid, Delphi, Scroll 7 26
Browsing a TTreeView in Delphi 5 6
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

808 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