Print Preview ActiveX Active Users: 89 / Visits Today: 1193
Highest Active Users: 361
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 FillColor - Property
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: Modal - Property Topic Next Topic: ForeColor - Property  


327 Posts

Posted - 07/16/2005 :  13:53:05  Show Profile
Property FillColor


This property sets or returns the color used to fill graphical shapes.


FillColor ( = Color As OLE_COLOR)

Color can have the following vb-constants or its value :
Constant   Hex       Decimal 
vbBlack    &H0       0 
vbRed      &HFF      255 
vbGreen    &HFF00    65280 
vbYellow   &HFFFF    65535 
vbBlue     &HFF0000  16711680 
vbMagenta  &HFF00FF  16711935 
vbCyan     &HFFFF00  16776960 
vbWhite    &HFFFFFF  16777215

The color used to fill subsequent shapes is set to Color.

The above mentioned values do only represent the hex and decimal values of the vb-constants. If any other color is required then the color can set to the equivalent value of that color.


To set the fill color to be blue:

Preview.FillColor = vbBlue


Preview.FillColor = 16711680

See Also:

FillStyle ->
ColorSpecification ->

Come and visit :

Edited by - emiel on 07/18/2005 14:05:45
Go to Bottom of Page
  Previous Topic: Modal - Property Topic Next Topic: ForeColor - Property  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02