Solved

How can give my application custom  interface

Posted on 2002-05-12
4
202 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 50 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 50 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
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.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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