advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Attached Property Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 [form.]scrollbar.Attached
 
 Usage Notes
   ■ Setting Left, Height, Width, or Top at run time when Attached = True
     (-1) will generate a read-only error.
 
   ■ Only one horizontal and one vertical scroll bar at a time may be
     attached.
 
   ■ When a scroll bar is attached to a border, the border itself becomes a
     scroll bar.
 
   ■ The SCROLLBAR_BACKCOLOR and SCROLLBAR_FORECOLOR settings of the
     ControlPanel property cannot be used to change the color of scroll bars
     that are attached to an object. Instead, attached scroll bars derive
     their color from:
     • The control's BackColor or ForeColor properties.
       See: BackColor Property  ForeColor Property
     • The form's ACTIVE_BORDER_BACKCOLOR and ACTIVE_BORDER_FORECOLOR
       ControlPanel property settings. See: ControlPanel Property
 
   ■ When a scroll bar is attached, changes to the scroll bar's Left, Top,
     Width, and Height properties are not allowed. The scroll bar is
     automatically sized when the form is sized. Unattached scroll bars do
     not automatically change size or position when the form is resized.
     See: Left Property  Height Property
          Top Property   Width Property