Solved

Gradiant Titlebars

Posted on 2000-04-18
13
282 Views
Last Modified: 2010-04-04
Ok,

I've seen Delphi apps with gradiant titlebars and I would like to have them in my apps.  How do I do this?  Sorry, but I'm so new to Delphi that I have to ask simple questions :p  I use Delphi 5 Standard if that is relevent.

Thank you :)
0
Comment
Question by:fibdev
  • 6
  • 4
  • 2
  • +1
13 Comments
 
LVL 5

Expert Comment

by:TheNeil
ID: 2727784
You'll need to get hold a component to do it for you. Head across to the Delphi Duper page (http://www.delphipages.com/) and serach for TAPHeadLabel V4.0. You'll find a download which should work with Delphi 5

The Neil =;)
0
 
LVL 17

Expert Comment

by:inthe
ID: 2727868
hi,
for this i suggest TCaptionControl.it adds a gradient to the form's caption, and allows you to add additional buttons to the caption. There are several predefined button bitmaps, and it is also possible to provide custom drawing using an event handle.
  http://ourworld.compuserve.com/homepages/yaminov/delphi.htm 

Regards Barry
0
 
LVL 17

Expert Comment

by:inthe
ID: 2727877
hehe
 Delphi Duper page ?
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 3

Author Comment

by:fibdev
ID: 2727906
inthe,

Forgive me, I'm a novice when it comes to delphi.  here are the files I aquired in the CapCtrl.zip

CapCtrl.dcr
CapCtrl.pas
CapIcons.res
SubCls.pas

To what directory should I extract these to make use of them?

and do I have to "Install" them?
Is so, how?
0
 
LVL 17

Expert Comment

by:inthe
ID: 2728061
same as any component just extract to any folder
delphi\lib\capctl\ will do.
go to delphi menu and do install - component - click the into new package tab ,for "unit" browse and select the capctrl.pas file ,click ok and also type some name like "gradcap" for instance in the package name feild.
click all the ok's and should compile and install new component.
check after install your menu under tools -environment options - library ,and check under library path that the path to the new component has been wrote here.
if not then type the path there manually and click "add" button(this is library path taht delphi searches when you click compile in asome application so it can find the .dcu file to compile into your application.
 guess that explains it,
shout if you need more detailed instructions.
0
 
LVL 3

Author Comment

by:fibdev
ID: 2728135
I'm getting compilation errors and at the top of the CapCtrl unit it says for Delphi 3 and 4 ... I use Delphi 5, is this the reason for the errors?
0
 
LVL 17

Expert Comment

by:inthe
ID: 2728268
yep because of d5.

Use the component TheNeil said as there is a version for d5  at delphipages i have checked.

note,
for me in win98 all my apps have gradient caption by default already probably a operating system setting..
0
 
LVL 3

Author Comment

by:fibdev
ID: 2728983
TheNeil,

I tried installing that new component and every download I find seems to be comming up with a missing file!

DsgnIntf.dcu

If you have it, could you send it to me?

expert@fibdev.com

Thanks
0
 
LVL 3

Accepted Solution

by:
bryan7 earned 50 total points
ID: 2729006
why not try RxLib ? it has a RxGradient component to do what you want.. it's freeware and has a lot of great components.. www.rxlib.com
0
 
LVL 3

Author Comment

by:fibdev
ID: 2729034
I hope this works :)

Soon I'll have a whole slew of components I can't use.

How do I go about removing a comonent?

I know what your thinking ... "Amature"

:)
0
 
LVL 3

Expert Comment

by:bryan7
ID: 2729059
"Soon I'll have a whole slew of components I can't use. "
believe me.. rx lib is worth the install..

you can remove them opening the package (dpk) removing them and recompiling the package..
or going into components/install packages/edit package
0
 
LVL 3

Author Comment

by:fibdev
ID: 2729156
Adjusted points from 25 to 50
0
 
LVL 3

Author Comment

by:fibdev
ID: 2729157
Thanks everyone.

This RxLib is NICE!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

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