Microsoft KB Archive/138436

= PRB: BorderColor Property Doesn't Change Color of Border =

Article ID: 138436

Article Last Modified on 2/11/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q138436



SYMPTOMS
The BorderColor Property does not change the color of an object's border color unless other properties of the object are set to specific values. The properties that must be set before the BorderColor Property becomes effective differ for each object.



RESOLUTION
Set the appropriate other properties for the object to a setting that will allow the BorderColor Property to be effective.



STATUS
This behavior is by design.



MORE INFORMATION
The following is a list of properties and the values that must be set to for the BorderColor Property of each object to be effective.

Combo Box
  SpecialEffect Property 0-3D           Only the down arrow will have a border color.

-or-

     1-Plain         The whole object will have a border color.

Command Group
  BorderStyle Property 1-Fixed Single

-and-

  SpecialEffect Property 1-Plain

Container
  This object inherits BorderColor from its SpecialEffect Property parent class. 2-Flat

Control
  This object inherits BorderColor from its SpecialEffect Property parent class. 2-Flat

Image
  BorderStyle Property 1-Fixed Single

Line
  BorderStyle Property 1-Solid OR 2-Dash OR 3-Dot OR 4-Dash-Dot OR 5-Dash-Dot-Dot OR     6-Inside Solid

List Box
  SpecialEffect Property 1-Plain

Option Group
  BorderStyle Property 1-Fixed Single

-and-

  SpecialEffect Property 1-Plain

Page Frame
<pre class="fixed_text">  Tabs Property      This must be set first to make the SpecialEffect .F.-False     and BorderColor Properties editable. AND SpecialEffect Property 2-Flat

Shape
<pre class="fixed_text">  BorderStyle Property 2-Dash OR 3-Dot OR 4-Dash-Dot OR 5-Dash-Dot-Dot OR 6-Inside Solid

-and-

<pre class="fixed_text">  SpecialEffect Property 0-3D -or- <pre class="fixed_text">  BorderStyle Property

1-Solid or 2-Dash or 3-Dot or 4-Dash-Dot or 5-Dash-Dot-Dot or     6-Inside Solid

-and-

<pre class="fixed_text">  SpecialEffect Property 1-Plain

Text Box
<pre class="fixed_text">  BorderStyle Property 1-Fixed Single

-and-

<pre class="fixed_text">  SpecialEffect Property 1-Plain

Additional query words: VFoxWin

Keywords: KB138436

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.