Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How can give my application custom  interface

Posted on 2002-05-12
4
Medium Priority
?
208 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

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is an update to some code that someone else posted on Experts Exchange. It is an alternate approach, I think a little easier to use, & makes sure that things like the Task Bar will update.
Loops Section Overview
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month12 days, 2 hours left to enroll

564 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