PRB: BorderColor Property Doesn't Change Color of Border

ID: Q138436

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, version 3.0

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

   Tabs Property      This must be set first to make the SpecialEffect
      .F.-False      and BorderColor Properties editable.
         AND
   SpecialEffect Property
      2-Flat

Shape

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

   -and-

   SpecialEffect Property
      0-3D

-or-

   BorderStyle Property

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

   -and-

   SpecialEffect Property
      1-Plain

Text Box

   BorderStyle Property
      1-Fixed Single

   -and-

   SpecialEffect Property
      1-Plain

Additional reference words: 3.00 VFoxWin KBCategory: kbui kbprb KBSubcategory: FxotherGeneral


Last Reviewed: October 23, 1995
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.