PRB: ForeColor Changes Control's Border Color Only If 3D Off

ID: Q90825


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0


SYMPTOMS

In order to set the color of control borders with the ForeColor property, you must first turn off the 3D feature of all forms and controls.


STATUS

This behavior is by design.


MORE INFORMATION

To turn off the 3D feature of forms and controls, use the ControlPanel object:


   Const Three_D = 15
       .
       .
       .
   Screen.ControlPanel(Three_D) = 0 
Additional information on the ControlPanel object can be found in the manual and in the VBDOS.EXE online Help.

Additional query words: VBmsdos 1.00

Keywords :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.