home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / ch_code / ch16 / flxlabel / testform.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1998-07-03  |  1.9 KB  |  56 lines

  1. VERSION 5.00
  2. Object = "{52D5F641-AFBC-11CF-A66F-444553540000}#1.0#0"; "FLXLABEL.OCX"
  3. Begin VB.Form TestForm 
  4.    BackColor       =   &H00C0C0C0&
  5.    Caption         =   "FLEXLabel Control - Test Form"
  6.    ClientHeight    =   2220
  7.    ClientLeft      =   60
  8.    ClientTop       =   345
  9.    ClientWidth     =   7965
  10.    LinkTopic       =   "Form1"
  11.    ScaleHeight     =   2220
  12.    ScaleWidth      =   7965
  13.    StartUpPosition =   3  'Windows Default
  14.    Begin FLEXLABEL.Label3D Label3D1 
  15.       Height          =   1995
  16.       Left            =   120
  17.       TabIndex        =   0
  18.       Tag             =   "My First Custom Control"
  19.       Top             =   120
  20.       Width           =   7755
  21.       _ExtentX        =   13679
  22.       _ExtentY        =   3519
  23.       BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  24.          Name            =   "Garamond"
  25.          Size            =   36
  26.          Charset         =   0
  27.          Weight          =   700
  28.          Underline       =   0   'False
  29.          Italic          =   0   'False
  30.          Strikethrough   =   0   'False
  31.       EndProperty
  32.       BorderStyle     =   1
  33.       ForeColor       =   0
  34.       Caption         =   "FLEXLabel Control"
  35.       Effect          =   1
  36.       BackColor       =   12632256
  37.    End
  38. Attribute VB_Name = "TestForm"
  39. Attribute VB_GlobalNameSpace = False
  40. Attribute VB_Creatable = False
  41. Attribute VB_PredeclaredId = True
  42. Attribute VB_Exposed = False
  43. '  ******************************
  44. '  ******************************
  45. '  ** MASTERING VB6            **
  46. '  ** by Evangelos Petroutos   **
  47. '  ** SYBEX, 1998              **
  48. '  ******************************
  49. '  ******************************
  50. Private Sub Label3D1_Click()
  51.     MsgBox "My properties are " & vbCrLf & _
  52.       "Caption = " & Label3D1.Caption & Chr$(13) & _
  53.       "TextAlignment = " & Label3D1.TextAlignment & Chr$(13) & _
  54.       "Effect = " & Label3D1.Effect
  55. End Sub
  56.