?
Solved

Fill with color

Posted on 2000-03-24
5
Medium Priority
?
230 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:Brendt Hess
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 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

764 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