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

x
?
Solved

How can give my application custom  interface

Posted on 2002-05-12
4
Medium Priority
?
207 Views
Last Modified: 2010-05-18
hi experts..
pleaes tell me how can i give the form in my application
a costum shape (e.g like interface of media player of windows) ,and also how can  customize my buuton and panel
...etc ,in my program.
thanx in advance
0
Comment
Question by:mohaned
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
Cesario earned 200 total points
ID: 7004166
Dear Mohaned,

Form Delphi3000.com
Make your application skinable
http://www.delphi3000.com/articles/article_1264.asp

Cooform:
http://www.lawrenz.com/coolform/

varian skin factory:
www.variansoftware.com.


Best Regards

Cesario
0
 
LVL 3

Assisted Solution

by:tongalite
tongalite earned 200 total points
ID: 7004346
Hi,
Here is a very simple example:

create a bitmap... eg, any shape on a plain background (neutral color eg, lime).
Drop a Timimage control on your form and load the bitmap in it. Set the property to transparent. Set the form property to bsNone. Hook the bitmap to a double click event in Obj Insp. (just an example to close the app)

Use this simple code in the forms OnCreate event:

procedure TForm1.Image1DblClick(Sender: TObject);
begin
close;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
Brush.style:=bsclear;
end;

That should give you a form in the shape of your bitmap and doubleclicking on the image should close the app.
Good luck
T.
0
 
LVL 3

Expert Comment

by:tongalite
ID: 7004349
Hi again,

I forgot to say...this is only a simple demonstration not a solution. There is a great component called Eclipse which will do exactly as you want. there is also an Eclipse button component included which allows you to make custom shaped buttons too. get it here:

http://www.gajits.com/p_eclipse.html

T.
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9005658
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Splite between tongalite and cesario

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
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…

885 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