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

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


327 Posts

Posted - 07/14/2005 :  13:50:59  Show Profile
Property BorderColor


This property sets or returns the border color used to surround a frame.


BorderColor = ( cBorderColor As OLE_COLOR )

The cBorderColor can have the following values :
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

Any color value can be used that is defined by OLE_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 border of the frame Inside to blue

Preview.CurrentFrame = "Inside"
Preview.BorderColor = vbBlue
See Also:

ShowBorder ->
ForeColor ----->
BorderColor -->
ColorMode ---->

Come and visit :

Edited by - emiel on 07/27/2005 13:23:47
Go to Bottom of Page
  Previous Topic: C_Twips - Method Topic Next Topic: BackColor - Property  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.02