home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form fMenu
- BackColor = &H00C0C0C0&
- Caption = "Resize me!"
- ClientHeight = 5820
- ClientLeft = 690
- ClientTop = 810
- ClientWidth = 7845
- Height = 6285
- Icon = MENU.FRX:0000
- Left = 600
- LinkTopic = "Form2"
- ScaleHeight = 5820
- ScaleWidth = 7845
- Top = 435
- Width = 8025
- Begin VideoSoftElastic elaMain
- Align = 5 'Fill Container
- AutoSizeChildren= 2 'Uneven Horizontal
- BevelInner = 0 'None
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- BorderWidth = 12
- ConvInfo = MENU.FRX:0302
- Height = 4170
- IntBkg = &H00C0C0C0&
- Left = 0
- TabIndex = 2
- Top = 1140
- Width = 7845
- Begin VideoSoftIndexTab VSIndexTab1
- BackSheets = 0 'None
- BorderWidth = 12
- Caption = "VSVBX 5.0|Elastic|IndexTab|Awk"
- ConvInfo = MENU.FRX:030D
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- FrontTabColor = &H00C0C0C0&
- FrontTabForeColor= &H00800000&
- Height = 3810
- Left = 180
- MultiRowOffset = 0
- New3D = -1 'True
- Position = 0 'Top
- ShowFocusRect = 0 'False
- Style = 5 'Chamfered 3D
- TabIndex = 3
- TabsPerPage = 4
- Top = 180
- Width = 5925
- Begin VideoSoftElastic elaPage
- AutoSizeChildren= 1 'Even Horizontal
- BevelChildren = 2 'No Elastics
- BevelOuter = 8 'Raised New Look
- BorderWidth = 12
- ConvInfo = MENU.FRX:0318
- Height = 3060
- Index = 1
- IntBkg = &H00C0C0C0&
- Left = 10110
- TabIndex = 5
- Top = 540
- Width = 5505
- Begin ListBox List1
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 2670
- Index = 1
- Left = 180
- TabIndex = 9
- Top = 180
- Width = 5145
- End
- End
- Begin VideoSoftElastic elaPage
- AutoSizeChildren= 1 'Even Horizontal
- BevelChildren = 2 'No Elastics
- BevelOuter = 8 'Raised New Look
- BorderWidth = 12
- ConvInfo = MENU.FRX:0323
- Height = 3060
- Index = 3
- IntBkg = &H00C0C0C0&
- Left = 10260
- TabIndex = 7
- Top = 540
- Width = 5505
- Begin ListBox List1
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 2670
- Index = 3
- Left = 180
- TabIndex = 11
- Top = 180
- Width = 5145
- End
- End
- Begin VideoSoftElastic elaPage
- AutoSizeChildren= 1 'Even Horizontal
- BevelChildren = 2 'No Elastics
- BevelOuter = 8 'Raised New Look
- BorderWidth = 12
- ConvInfo = MENU.FRX:032E
- Height = 3060
- Index = 2
- IntBkg = &H00C0C0C0&
- Left = 10185
- TabIndex = 6
- Top = 540
- Width = 5505
- Begin ListBox List1
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 2670
- Index = 2
- Left = 180
- TabIndex = 10
- Top = 180
- Width = 5145
- End
- End
- Begin VideoSoftElastic elaPage
- AutoSizeChildren= 1 'Even Horizontal
- BevelChildren = 2 'No Elastics
- BevelOuter = 8 'Raised New Look
- BorderWidth = 12
- ConvInfo = MENU.FRX:0339
- Height = 3060
- Index = 0
- IntBkg = &H00C0C0C0&
- Left = 210
- TabIndex = 4
- Top = 540
- Width = 5505
- Begin ListBox List1
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 2670
- Index = 0
- Left = 180
- TabIndex = 8
- Top = 180
- Width = 5145
- End
- End
- End
- Begin VideoSoftElastic VSElastic3
- BevelInner = 0 'None
- BevelOuter = 0 'None
- ConvInfo = MENU.FRX:0344
- Height = 3810
- Index = 0
- IntBkg = &H00C0C0C0&
- Left = 6195
- TabIndex = 12
- Top = 180
- Width = 1470
- Begin VideoSoftElastic elaButton
- BevelInner = 0 'None
- BevelOuter = 8 'Raised New Look
- Caption = "See Demo.."
- CaptionPos = 5 'Center Bottom
- ConvInfo = MENU.FRX:034F
- CornerColor = &H00C0C0C0&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 900
- IntBkg = &H00C0C0C0&
- Left = 105
- Picture = MENU.FRX:035A
- PicturePos = 3 'Center Top
- ShowFocusRect = -1 'True
- Style = 3 'Command Button
- TabIndex = 14
- Top = 480
- Width = 1185
- End
- Begin VideoSoftElastic elaOrderBtn
- BevelInner = 0 'None
- BevelOuter = 8 'Raised New Look
- Caption = "VS Info"
- CaptionPos = 5 'Center Bottom
- ConvInfo = MENU.FRX:065C
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 930
- IntBkg = &H00C0C0C0&
- Left = 90
- Picture = MENU.FRX:0667
- PicturePos = 3 'Center Top
- ShowFocusRect = -1 'True
- Style = 3 'Command Button
- TabIndex = 13
- Top = 1515
- Width = 1185
- End
- End
- End
- Begin VideoSoftElastic StatusBar
- Align = 2 'Bottom
- BevelInner = 0 'None
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- Caption = "VideoSoft, 2625 Alcatraz Avenue, Suite 271, Berkeley, California (510) 704-8200"
- CaptionPos = 4 'Center Center
- CaptionStyle = 3 'Raised Light
- ConvInfo = MENU.FRX:0969
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 510
- IntBkg = &H00C0C0C0&
- Left = 0
- PicturePos = 10 'Tile
- TabIndex = 0
- Top = 5310
- Width = 7845
- WordWrap = 0 'False
- End
- Begin VideoSoftElastic VSElastic1
- Align = 1 'Top
- BevelInner = 1 'Raised
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- BorderWidth = 12
- Caption = "VideoSoft VSVBX 5.0 Demo"
- CaptionPos = 4 'Center Center
- CaptionStyle = 1 'Raised
- ChildSpacing = 0
- ConvInfo = MENU.FRX:0974
- CornerColor = &H00C0C0C0&
- FloodDirection = 1 'Right
- FontBold = -1 'True
- FontItalic = -1 'True
- FontName = "Arial"
- FontSize = 24
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00800000&
- Height = 1140
- Index = 0
- IntBkg = &H00C0C0C0&
- Left = 0
- PicturePos = 10 'Tile
- TabIndex = 1
- Top = 0
- Width = 7845
- End
- Option Explicit
- Sub DoLicenseInfo ()
-
- Dim msg$, NL
- NL = Chr$(13)
- msg = "**** New Licensing Scheme ******************" + NL
- msg = msg + "In response to numerous user requests, we have changed our licensing "
- msg = msg + "scheme:" + NL + NL
- msg = msg + "You no longer have to distribute the LIC file with your compiled "
- msg = msg + "applications. As long as you have the LIC file installed on your "
- msg = msg + "machine when you compile an application, vsView will not look for "
- msg = msg + "a license file when you run it. This will simplify your installation "
- msg = msg + "process and reduce the potential for version conflicts on your "
- msg = msg + "users' machines."
- msg = msg + NL + NL
- msg = msg + "This also makes the VSVBX.DEV file obsolete. It's not needed "
- msg = msg + "anymore, and that's why you won't find it on the distribution "
- msg = msg + "diskettes."
- msg = msg + NL + NL
- msg = msg + "In short:" + NL
- msg = msg + "1) Forget the DEV files." + NL
- msg = msg + "2) DO NOT DISTRIBUTE THE LIC FILE WITH YOUR APPLICATIONS!!!!"
- MsgBox msg
- End Sub
- Sub DoUpgrade ()
-
- Dim msg$, NL
- NL = Chr$(13)
- msg = "**** Upgrading to VSVBX 5.0 ***************" + NL + NL
- msg = msg + "If you own an older version of VSVBX you can upgrade to 5.0"
- msg = msg + " for only $25 + $6 shipping and handling:" + NL
- msg = msg + NL
- msg = msg + "Send your check or money order to:" + NL + NL
- msg = msg + " VideoSoft" + NL
- msg = msg + " 2625 Alcatraz Avenue, Suite 271" + NL
- msg = msg + " Berkeley, California 94705" + NL + NL
- msg = msg + " 510 704-8200 Voice" + NL
- msg = msg + " 510 843-0174 Fax"
- MsgBox msg
- End Sub
- Sub elaButton_Click ()
- Dim myIndex%
- myIndex = vsIndexTab1.CurrTab
- mousepointer = 11
- Select Case myIndex
- Case 0 'VSVBX 5.0
- Select Case List1(myIndex).ListIndex
- Case 0: fnew.Show 1 'New Features
- Case 1: DoLicenseInfo
- Case 2: DoUpgrade
- Case Else: MsgBox "Sorry demo not available."
- End Select
- Case 1 'Elastic
- Select Case List1(myIndex).ListIndex
- Case 0: fprop.Show 1 'Resize Controls & Fonts
- Case 1: splitter.Show 1 'Splitter
- Case 2: fnolabels.Show 1 'No Labels
- Case 3: fflood.Show 1 'Flooding
- Case 4: fbuttons.Show 1 'Buttons
- Case Else: MsgBox "Sorry demo not available."
- End Select
- Case 2 'IndexTab
- Select Case List1(myIndex).ListIndex
- Case 0: IndexTab.Show 1 'IndexTab
- Case 1: fMultiTabs.Show 1 'MultiRows
- Case 2: fDialog.Show 1 'Dynamic dialog
- Case 3: fnotebook.Show 1 'Notebook
- Case 4: fwiz.Show 1 'Wizards
- Case Else: MsgBox "Sorry demo not available."
- End Select
- Case 3 ' Awk
- Select Case List1(myIndex).ListIndex
- Case 0: fSimpleAwk.Show 1 'Parsing Files
- Case 1: frmAwk.Show 1 'Parsing Strings
- Case 2: Calculator.Show 1 'Calculator
- Case 3: ffunction.Show 1 'Function
- Case Else: MsgBox "Sorry demo not available."
- End Select
- End Select
- mousepointer = 0
- End Sub
- Sub elaOrderBtn_Click ()
- Dim msg$, NL
- NL = Chr$(13)
- msg = "VideoSoft" + NL
- msg = msg + "2625 Alcatraz Avenue, Suite 271" + NL
- msg = msg + "Berkeley, California 94705" + NL
- msg = msg + NL
- msg = msg + "510 704-8200 Voice" + NL
- msg = msg + "510 843-0174 Fax" '+ NL
- MsgBox msg
- End Sub
- Sub Form_Load ()
- 'Resolution independence
- 'Place form on lower part of the screen
- 'Me.Move 0, screen.Height * .25
- 'Me.Width = screen.Width
- 'Me.Height = screen.Height * .75
- 'Check Version
- On Error Resume Next
- If VSElastic1(0).Version < 5 Then MsgBox "An older version of VideoSoft VSVBX is loaded in your system. This demo may not work properly."
- List1(0).AddItem " New Features"
- List1(0).AddItem " New Licensing Scheme"
- List1(0).AddItem " Upgrading to 5.0"
- List1(0).ListIndex = 0
- List1(1).AddItem " Resize Controls & Fonts"
- List1(1).AddItem " Splitter bars"
- List1(1).AddItem " No labels"
- List1(1).AddItem " Flooding"
- List1(1).AddItem " Elastic Styles: Frames, Buttons, etc"
- List1(1).ListIndex = 0
- List1(2).AddItem " IndexTab"
- List1(2).AddItem " MultiRows"
- List1(2).AddItem " Dynamic Dialog"
- List1(2).AddItem " Notebook"
- List1(2).AddItem " Wizards"
- List1(2).ListIndex = 0
- List1(3).AddItem " Parsing Files"
- List1(3).AddItem " Parsing Strings"
- List1(3).AddItem " Function Evaluator"
- List1(3).AddItem " Formula Plotter"
- List1(3).ListIndex = 0
- End Sub
- Sub Form_Resize ()
- 'no code
- End Sub
- Sub List1_DblClick (Index As Integer)
- elaButton_Click
- End Sub
-