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

 All Forums
 Print Preview
 Help file
 BackColor - Property
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: BorderColor - Property Topic Next Topic: Authorize - Function  

emiel
Administrator

Belgium
327 Posts

Posted - 07/14/2005 :  13:44:26  Show Profile
Property BackColor

Action:

This property sets or returns the background color used to display text and graphics.

Syntax:

BackColor = ( oleBackColor As OLE_COLOR )

Remarks:

The color value can be any that is defined by OLE_COLOR.

The under 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.

Color can have the following vb-constants or its decimal value :
Constant   Value     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
Example:

To set the background color to red:

Preview.BackColor = vbRed
See Also:

ForeColor ----> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=373
BorderColor -> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=334
ColorMode ---> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=341

Come and visit :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com

Edited by - emiel on 07/27/2005 13:19:44
Go to Bottom of Page
  Previous Topic: BorderColor - Property Topic Next Topic: Authorize - Function  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.02