Creating Gradient Text

This program/attached code shows some interesting methods of producing gradient filled text within a picturebox.

Screen-shot

To use the code in your app, follow these steps:

  1. Create a label named txtlen with 3dappearance property set to true, visible=false
  2. Create a picturebox named pictmp with visible=false, autoredraw=true
  3. Place the module in your app.
  4. Simply call drawtxt function.

That's all that there is to it!

Download zipped project file



Comments

  • This is Very interesting

    Posted by Legacy on 10/10/2001 12:00am

    Originally posted by: Mohd. Hafizur Rahman

    This is very helpfull to me.

    Reply
  • black background problem

    Posted by Legacy on 08/10/2000 12:00am

    Originally posted by: JD

    i use the black scheme in windows and your program doesn't show anything when this scheme is used why?

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

  • Packaged application development teams frequently operate with limited testing environments due to time and labor constraints. By virtualizing the entire application stack, packaged application development teams can deliver business results faster, at higher quality, and with lower risk.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds