fibdev
asked on
Gradiant Titlebars
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 :)
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 :)
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
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
hehe
Delphi Duper page ?
Delphi Duper page ?
ASKER
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?
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?
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.
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.
ASKER
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?
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..
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..
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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"
:)
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"
:)
"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
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
ASKER
Adjusted points from 25 to 50
ASKER
Thanks everyone.
This RxLib is NICE!
This RxLib is NICE!
The Neil =;)