Solved

Fill with color

Posted on 2000-03-24
5
227 Views
Last Modified: 2010-05-02
i need to fill a selected area on the form with a certain color .
the area is very similar to a spot light. it begin narrow and get wider in the end. if it could give the light effect will be great.

thanx
0
Comment
Question by:raed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 2

Expert Comment

by:damienm
ID: 2653428
Why don't you create an image using Paintbrush or something, then add the picture to your form.
0
 
LVL 12

Expert Comment

by:mark2150
ID: 2653456
Pset allows you to set a specific point with a specific color. You can also do LINE (x1, y1)-(x2, y2), color.

You use the same x1, y1 for all lines and then walk the x2, y2 thru an arc of a circle.

M
0
 
LVL 32

Expert Comment

by:bhess1
ID: 2654275
Check out this reference:

http://www.thescarms.com/vbasic/IrregularForms.htm

It discusses making forms and controls (textbox, label, image, whatever) with non-standard shapes (oval, polygons, etc), and using gradient fills on them to create special effects.

It uses some API calls, and can create a lot of fun effects.
0
 
LVL 28

Accepted Solution

by:
Ark earned 100 total points
ID: 2655989
Hi
you need ExtFloodFill API
Take a look at http://www.freevbcode.com/ShowCode.Asp?ID=629
If you need light effect, you can try http://www.freevbcode.com/ShowCode.Asp?ID=719
Cheers
0
 

Author Comment

by:raed
ID: 2692905
thanx
was very helpfull
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

737 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