advr.hlp (Topic list)
THREE_D Constant Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SCREEN.ControlPanel({THREE_D | value%})[ = setting%]
 
 Usage Notes
   ■ The three-dimensional (3D) effect applies only to controls with borders
     around them.
 
   ■ A form containing 3D controls becomes, in effect, a 3D form. However,
     the THREE_D constant has no effect on a form's border.
 
   ■ When THREE_D is set to True (-1), half of the control border is drawn
     in black, and the other half is drawn in the same color, but opposite
     intensity of the control's background.
 
   ■ When THREE_D is set to False (0), control borders are drawn in the
     foreground color of the control.
 
   ■ Command buttons have the black border along the bottom and right edges,
     thus producing a "raised" look. All other framed controls have the
     black border along the top and left edges, producing an "sunken" look.
 
   ■ The type of control and its BackColor property setting determine the
     border color when the 3D display is in effect:
 
                       BackColor
     Control           Setting      Top/Left Borders    Bottom/Right Borders
     ══════════════    ═════════    ════════════════    ════════════════════
     Command button    0            7                   8
                       1 - 7        BackColor + 8       0
                       8            7                   0
                       9 - 15       BackColor - 8       0
     All other         0            8                   7
     controls (except  1 - 7        0                   BackColor + 8
     timer and scroll  8            0                   7
     bars)             9 - 15       0                   BackColor - 8
     ───────────────────────────────────────────────────────────────────────
     See: BackColor Property                     BorderStyle Property
          Color Attributes and Values (Objects)  Controls Summary