Gradient Form Titlebar
Instructions:
Open up your project. Then add the module mdlGradTitle
and the form frmGradTitle(Make sure the frmGradTitle.frx
file is included as well, it contains the images necessary).
Open mdlGradTitle and specify the constant GT_HOW as what
you would like, "LtoR" for left to right or "TtoB" for top
to bottom. Then specify the color constants that you want
( GT_RED, GT_GREEN, and GT_BLUE. They all are RGB so the
number is 1 through 255). Open up frmGradTitle(You can name
it what ever you want) and change the Caption to what you want
the caption to be. Also set the MaxButton and MinButton to
what you want them to be(The module will read them and make
the gradient title using those properties). The form has a built
in unload the app function encoded in the imgCloseForm_MouseUp
function, if you take that out you will need to code a proper
unload routine because otherwise it will end up using a lot of
memory!!!!!!
You are all set now. Just call the form as you would a normal form.
Copyright:
This code and all code associated with this code is Copyright 1998
to Barry Jacobsen who is the Author. All Rights Reserved.
You take all responsibility for any thing that goes wrong while using this code.
You may redistribute the files contained within as long as you include this file
and all of the files included. For more information, contact Barry Jacobsen at
the_devil_software@rocketmail.com.
Downloads
In IE right-click and select 'Save Target As...' or in Netscape
right-click and select 'Save Link As...'
View Plain Text
Download Demo Project
Not Available