home *** CD-ROM | disk | FTP | other *** search
/ Master 95 #1 / MASTER95_1.iso / microsof / vbasic4 / vb4-6.cab / about.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-07-26  |  2.0 KB  |  55 lines

  1. VERSION 4.00
  2. Begin VB.Form About 
  3.    BorderStyle     =   1  'Fixed Single
  4.    Caption         =   "About Align"
  5.    ClientHeight    =   2520
  6.    ClientLeft      =   2430
  7.    ClientTop       =   1470
  8.    ClientWidth     =   4875
  9.    ControlBox      =   0   'False
  10.    Height          =   2925
  11.    Left            =   2370
  12.    LinkTopic       =   "Form1"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   2520
  16.    ScaleWidth      =   4875
  17.    Top             =   1125
  18.    Visible         =   0   'False
  19.    Width           =   4995
  20.    Begin VB.CommandButton Command1 
  21.       Cancel          =   -1  'True
  22.       Caption         =   "OK"
  23.       Default         =   -1  'True
  24.       Height          =   315
  25.       Left            =   1860
  26.       TabIndex        =   1
  27.       Top             =   2130
  28.       Width           =   1095
  29.    End
  30.    Begin VB.TextBox Text1 
  31.       Height          =   1875
  32.       Left            =   120
  33.       Locked          =   -1  'True
  34.       MultiLine       =   -1  'True
  35.       TabIndex        =   0
  36.       Top             =   150
  37.       Width           =   4665
  38.    End
  39. Attribute VB_Name = "About"
  40. Attribute VB_Creatable = False
  41. Attribute VB_Exposed = False
  42. Private Sub Command1_Click()
  43.     Unload Me
  44. End Sub
  45. Private Sub Form_Activate()
  46.     SetFocus
  47. End Sub
  48. Private Sub Form_Load()
  49.     With Screen
  50.         Left = (.Width - Width) / 2
  51.         Top = (.Height - Height) / 2
  52.     End With
  53.     Text1.Text = "Select all the controls on a form you wish to align to each other, then use the Align menu item in the Add-Ins menu to select a type of alignment.  If a selected control does not support the Top, Left, Height or Width properties, it will not be aligned.  The selected controls will be aligned to the control with an edge nearest to the specified side of the Form.  For example, Align Left will align the left edge of all selected controls with the left edge of the selected control whose left edge is nearest to the left side of the form."
  54. End Sub
  55.