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

  • Today's agile organizations pose operations teams with a tremendous challenge: to deploy new releases to production immediately after development and testing is completed. To ensure that applications are deployed successfully, an automatic and transparent process is required. We refer to this process as Zero Touch Deployment™. This white paper reviews two approaches to Zero Touch Deployment--a script-based solution and a release automation platform. The article discusses how each can solve the key …

  • Learn How A Global Entertainment Company Saw a 448% ROI Every business today uses software to manage systems, deliver products, and empower employees to do their jobs. But software inevitably breaks, and when it does, businesses lose money -- in the form of dissatisfied customers, missed SLAs or lost productivity. PagerDuty, an operations performance platform, solves this problem by helping operations engineers and developers more effectively manage and resolve incidents across a company's global operations. …

Most Popular Programming Stories

More for Developers

RSS Feeds