home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Power Pack / Visual_Basic4_Power_Pack.bin / vb4files / vbmax3d / 3ddemo.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-11-20  |  6.4 KB  |  226 lines

  1. VERSION 4.00
  2. Begin VB.Form frm3DDemo 
  3.    BorderStyle     =   0  'None
  4.    Caption         =   "VBMax 3D Effects Demo"
  5.    ClientHeight    =   3765
  6.    ClientLeft      =   60
  7.    ClientTop       =   345
  8.    ClientWidth     =   5055
  9.    Height          =   4170
  10.    Icon            =   "3DDemo.frx":0000
  11.    Left            =   0
  12.    LinkTopic       =   "Form1"
  13.    LockControls    =   -1  'True
  14.    MaxButton       =   0   'False
  15.    MinButton       =   0   'False
  16.    ScaleHeight     =   3765
  17.    ScaleWidth      =   5055
  18.    Top             =   0
  19.    Width           =   5175
  20.    Begin VB.CommandButton cmdPercent 
  21.       Caption         =   "% &Meter"
  22.       Height          =   360
  23.       Left            =   2580
  24.       TabIndex        =   8
  25.       Top             =   2160
  26.       Width           =   900
  27.    End
  28.    Begin VB.CommandButton cmdStatusBar 
  29.       Caption         =   "Stat&usbar"
  30.       Height          =   360
  31.       Left            =   1560
  32.       TabIndex        =   5
  33.       Top             =   2160
  34.       Width           =   900
  35.    End
  36.    Begin VB.CommandButton cmdPanels 
  37.       Caption         =   "&Panels"
  38.       Height          =   360
  39.       Left            =   540
  40.       TabIndex        =   2
  41.       Top             =   2160
  42.       Width           =   900
  43.    End
  44.    Begin VB.CommandButton cmdShadows 
  45.       Caption         =   "&Shadows"
  46.       Height          =   360
  47.       Left            =   2580
  48.       TabIndex        =   7
  49.       Top             =   1680
  50.       Width           =   900
  51.    End
  52.    Begin VB.CommandButton cmdAbout 
  53.       Caption         =   "&About"
  54.       Height          =   360
  55.       Left            =   3600
  56.       TabIndex        =   9
  57.       Top             =   1200
  58.       Width           =   900
  59.    End
  60.    Begin VB.CommandButton cmdFrames 
  61.       Caption         =   "&Frames"
  62.       Height          =   360
  63.       Left            =   1560
  64.       TabIndex        =   3
  65.       Top             =   1200
  66.       Width           =   900
  67.    End
  68.    Begin VB.CommandButton cmdText 
  69.       Caption         =   "&Text"
  70.       Height          =   360
  71.       Left            =   540
  72.       TabIndex        =   0
  73.       Top             =   1200
  74.       Width           =   900
  75.    End
  76.    Begin VB.CommandButton cmdControls 
  77.       Caption         =   "&Controls"
  78.       Height          =   360
  79.       Left            =   1560
  80.       TabIndex        =   4
  81.       Top             =   1680
  82.       Width           =   900
  83.    End
  84.    Begin VB.CommandButton cmdLines 
  85.       Caption         =   "&Lines"
  86.       Height          =   360
  87.       Left            =   540
  88.       TabIndex        =   1
  89.       Top             =   1680
  90.       Width           =   900
  91.    End
  92.    Begin VB.CommandButton cmdExit 
  93.       Caption         =   "E&xit"
  94.       Height          =   360
  95.       Left            =   3600
  96.       TabIndex        =   10
  97.       Top             =   1680
  98.       Width           =   900
  99.    End
  100.    Begin VB.CommandButton cmdFoms 
  101.       Caption         =   "F&orms"
  102.       Height          =   360
  103.       Left            =   2580
  104.       TabIndex        =   6
  105.       Top             =   1200
  106.       Width           =   900
  107.    End
  108.    Begin VB.Shape Shape1 
  109.       Height          =   1695
  110.       Left            =   345
  111.       Top             =   1020
  112.       Visible         =   0   'False
  113.       Width           =   4350
  114.    End
  115.    Begin VB.Label lblVBMax 
  116.       AutoSize        =   -1  'True
  117.       BackStyle       =   0  'Transparent
  118.       Caption         =   "Visual Basic to the Max"
  119.       BeginProperty Font 
  120.          name            =   "Times New Roman"
  121.          charset         =   0
  122.          weight          =   700
  123.          size            =   20.25
  124.          underline       =   0   'False
  125.          italic          =   -1  'True
  126.          strikethrough   =   0   'False
  127.       EndProperty
  128.       Height          =   465
  129.       Left            =   420
  130.       TabIndex        =   12
  131.       Top             =   3000
  132.       Width           =   4095
  133.    End
  134.    Begin VB.Label lblTitle 
  135.       AutoSize        =   -1  'True
  136.       Caption         =   "VBMax 3D Effects Demo"
  137.       BeginProperty Font 
  138.          name            =   "Times New Roman"
  139.          charset         =   0
  140.          weight          =   700
  141.          size            =   20.25
  142.          underline       =   0   'False
  143.          italic          =   0   'False
  144.          strikethrough   =   0   'False
  145.       EndProperty
  146.       ForeColor       =   &H00800000&
  147.       Height          =   465
  148.       Left            =   300
  149.       TabIndex        =   11
  150.       Top             =   240
  151.       Width           =   4380
  152.    End
  153. Attribute VB_Name = "frm3DDemo"
  154. Attribute VB_Creatable = False
  155. Attribute VB_Exposed = False
  156. Option Explicit
  157. Dim mo3D As New cls3D
  158. Private Sub Form_Load()
  159.     With mo3D
  160.         .Style = gnRAISED
  161.             .Caption lblTitle, gnUSE_CONTROL_FONT
  162.             .Offset = 3
  163.             .DropShadow cmdText
  164.             .DropShadow cmdLines
  165.             .DropShadow cmdPanels
  166.             .DropShadow cmdFrames
  167.             .DropShadow cmdControls
  168.             .DropShadow cmdFoms
  169.             .DropShadow cmdStatusBar
  170.             .DropShadow cmdShadows
  171.             .DropShadow cmdPercent
  172.             .DropShadow cmdAbout
  173.             .DropShadow cmdExit
  174.             
  175.         .Style = gnEMBOSSED_RAISED
  176.             .Caption lblVBMax, gnUSE_CONTROL_FONT
  177.             
  178.         .Style = gnRECESSED
  179.             .Depth = 2
  180.             .Width = 10
  181.             .Border Shape1
  182.             .FormBorder Me
  183.    End With
  184. End Sub
  185. Private Sub Form_Unload(Cancel As Integer)
  186.     Set mo3D = Nothing
  187.     Set frm3DDemo = Nothing
  188. End Sub
  189. Private Sub cmdAbout_Click()
  190.     frmAbout.Show vbModal
  191. End Sub
  192. Private Sub cmdControls_Click()
  193.     frm3DControls.Show
  194. End Sub
  195. Private Sub cmdExit_Click()
  196.     End
  197. End Sub
  198. Private Sub cmdFoms_Click()
  199.     frm3DFXForms.Show
  200. End Sub
  201. Private Sub cmdLines_Click()
  202.     frm3DLines.Show
  203. End Sub
  204. Private Sub cmdText_Click()
  205.     Screen.MousePointer = vbHourglass
  206.     frm3DText.Show
  207.     Screen.MousePointer = vbDefault
  208. End Sub
  209. Private Sub cmdFrames_Click()
  210.     Screen.MousePointer = vbHourglass
  211.     frm3DFrames.Show
  212.     Screen.MousePointer = vbDefault
  213. End Sub
  214. Private Sub cmdShadows_Click()
  215.     frm3DShadows.Show
  216. End Sub
  217. Private Sub cmdPanels_Click()
  218.     frm3DPanels.Show
  219. End Sub
  220. Private Sub cmdStatusBar_Click()
  221.     frm3DStatusBar.Show
  222. End Sub
  223. Private Sub cmdPercent_Click()
  224.     frm3DPercentMeter.Show
  225. End Sub
  226.