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.
Label Control Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Usage Notes
   ■ You can use labels to display messages to the user by writing code that
     changes a label in response to events at run time. For example, if your
     application takes a few minutes to commit a change, you can create a
     message that displays its processing status.
 
   ■ You can set only one line of text with a label's Caption property at
     design time. To display multiple lines of text in a label, you must
     write code that includes carriage returns at line breaks.
     See: Caption Property
 
   ■ A label can be used to identify a control, such as a text box, that
     does not have its own Caption property. Because you can set only one
     line of text with the Caption property at design time, you can use a
     label to define multiple line headings for controls that have their own
     Caption property.
 
   ■ The minimum size for a label is 1 x 1; dimensions correspond to the
     Height and Width property settings. Specified settings that are less
     than the minimum value are set to the minimum value. If the label has a
     border, Height property settings 1 and 2 change the appearance of the
     control:
 
          Height = 1               Height = 2               Height >= 3
          ════════════             ════════════             ════════════
          Label1                   ┌──────────┐             ┌──────────┐
                                   └──────────┘             │  Label1  │
                                                            └──────────┘
 
     See: Height Property  Width Property