home *** CD-ROM | disk | FTP | other *** search
Wrap
VERSION 2.00 Begin Form fMenu BackColor = &H00C0C0C0& BorderStyle = 3 'Fixed Double Caption = "VideoSoft VSVBX 5.0" ClientHeight = 3555 ClientLeft = 690 ClientTop = 1725 ClientWidth = 7680 Height = 4020 Left = 600 LinkTopic = "Form2" MaxButton = 0 'False ScaleHeight = 3555 ScaleWidth = 7680 Top = 1350 Width = 7860 Begin CommandButton elaOrderBtn BackColor = &H00C0C0C0& Caption = "Order Info" FontBold = 0 'False FontItalic = 0 'False FontName = "MS Sans Serif" FontSize = 8.25 FontStrikethru = 0 'False FontUnderline = 0 'False Height = 435 Left = 6195 TabIndex = 6 Top = 1275 Width = 1215 End Begin CommandButton elaButton BackColor = &H00C0C0C0& Caption = "See Demo" FontBold = 0 'False FontItalic = 0 'False FontName = "MS Sans Serif" FontSize = 8.25 FontStrikethru = 0 'False FontUnderline = 0 'False Height = 405 Left = 6210 TabIndex = 5 Top = 765 Width = 1170 End Begin VideoSoftIndexTab VSIndexTab1 BackSheets = 0 'None BorderWidth = 12 Caption = "IndexTab|Elastic|Awk|VSVBX 5.0" ConvInfo = MENU.FRX:0000 FontBold = 0 'False FontItalic = 0 'False FontName = "Arial" FontSize = 9.75 FontStrikethru = 0 'False FontUnderline = 0 'False FrontTabColor = &H00C0C0C0& FrontTabForeColor= &H00800000& Height = 2985 Left = 240 MultiRowOffset = 0 New3D = -1 'True Position = 0 'Top ShowFocusRect = 0 'False Style = 5 'Chamfered 3D TabIndex = 0 TabsPerPage = 4 Top = 240 Width = 5745 Begin ListBox List1 FontBold = 0 'False FontItalic = 0 'False FontName = "Arial" FontSize = 9.75 FontStrikethru = 0 'False FontUnderline = 0 'False Height = 2190 Index = 2 Left = 10185 TabIndex = 4 Top = 540 Width = 5325 End Begin ListBox List1 FontBold = 0 'False FontItalic = 0 'False FontName = "Arial" FontSize = 9.75 FontStrikethru = 0 'False FontUnderline = 0 'False Height = 2190 Index = 0 Left = 210 TabIndex = 3 Top = 540 Width = 5325 End Begin ListBox List1 FontBold = 0 'False FontItalic = 0 'False FontName = "Arial" FontSize = 9.75 FontStrikethru = 0 'False FontUnderline = 0 'False Height = 2190 Index = 1 Left = 10110 TabIndex = 2 Top = 540 Width = 5325 End Begin ListBox List1 FontBold = 0 'False FontItalic = 0 'False FontName = "Arial" FontSize = 9.75 FontStrikethru = 0 'False FontUnderline = 0 'False Height = 2190 Index = 3 Left = 10260 TabIndex = 1 Top = 540 Width = 5325 End End Option Explicit Sub DoLicenseInfo () Dim Legend$, NL NL = Chr$(13) Legend = "**********************" + NL Legend = "Congratulations!" & NL & NL Legend = Legend & "As a courtesy of VideoSoft you now own a royalty free copy of the IndexTab control." & NL & NL Legend = Legend & "You can also try the Elastic and AWK controls of VSVBX. The .VBX that you have in your system is fully functional. Only a banner will appear the first time you try to use the Elastic or the AWK control." & NL & NL Legend = Legend & "You can license the full version of VSVBX for only $45" & NL & NL Legend = Legend & "VideoSoft" & NL Legend = Legend & "2625 Alcatraz Avenue Suite 271" & NL Legend = Legend & "Berkeley, California 94705" & NL Legend = Legend & "(510) 704-8200 voice" & NL Legend = Legend & "(510) 843-0174 fax" & NL MsgBox Legend End Sub Sub DoUpgrade () Dim Legend$, NL NL = Chr$(13) Legend = "**** Upgrading to VSVBX 5.0 ***************" + NL + NL Legend = Legend + "If you own an older version of VSVBX you can upgrade to 5.0" Legend = Legend + " for only $25 + $6 shipping and handling:" + NL Legend = Legend + NL Legend = Legend + "Send your check or money order to:" + NL + NL Legend = Legend + " VideoSoft" + NL Legend = Legend + " 2625 Alcatraz Avenue, Suite 271" + NL Legend = Legend + " Berkeley, California 94705" + NL + NL Legend = Legend + " 510 704-8200 Voice" + NL Legend = Legend + " 510 843-0174 Fax" MsgBox Legend End Sub Sub elaButton_Click () Dim myIndex% myIndex = vsIndexTab1.CurrTab mousepointer = 11 Select Case myIndex Case 0 '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 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 ' 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 Else: MsgBox "Sorry demo not available." End Select Case 3 'VSVBX 5.0 Select Case List1(myIndex).ListIndex Case 0: DoLicenseInfo Case 1: DoUpgrade Case Else: MsgBox "Sorry demo not available." End Select End Select mousepointer = 0 End Sub Sub elaOrderBtn_Click () Dim Legend$, NL NL = Chr$(13) Legend = "VideoSoft" + NL Legend = Legend + "2625 Alcatraz Avenue, Suite 271" + NL Legend = Legend + "Berkeley, California 94705" + NL Legend = Legend + NL Legend = Legend + "510 704-8200 Voice" + NL Legend = Legend + "510 843-0174 Fax" '+ NL MsgBox Legend End Sub Sub Form_Load () 'Check Version On Error Resume Next If vsIndexTab1.Version < 5 Then MsgBox "An older version of VideoSoft VSVBX is loaded in your system. This demo may not work properly." DoLicenseInfo List1(0).AddItem " IndexTab" List1(0).AddItem " MultiRows" List1(0).AddItem " Dynamic Dialog" List1(0).AddItem " Notebook" List1(0).AddItem " Wizards" 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 " Parsing Files" List1(2).AddItem " Parsing Strings" List1(2).AddItem " Function Evaluator" List1(2).ListIndex = 0 List1(3).AddItem " Free IndexTab control" List1(3).AddItem " Upgrading to 5.0" List1(3).ListIndex = 0 End Sub Sub Form_Resize () 'no code End Sub Sub List1_DblClick (Index As Integer) elaButton_Click End Sub