Solved

How can give my application custom  interface

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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Printing problem 2 110
How to build JSON File in Delphi 6 3 70
firemonkey keyboard covers the controls 1 51
Breakpoint doesn't stop in my variable 3 36
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 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