home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Splitter
- BackColor = &H00C0C0C0&
- Caption = "Resize controls using the colored splitter bars"
- ClientHeight = 3720
- ClientLeft = 570
- ClientTop = 1635
- ClientWidth = 8415
- Height = 4185
- Left = 480
- LinkTopic = "Form1"
- ScaleHeight = 3720
- ScaleWidth = 8415
- Top = 1260
- Width = 8595
- Begin VideoSoftElastic mainElastic
- Align = 5 'Fill Container
- AutoSizeChildren= 2 'Uneven Horizontal
- BackColor = &H0080FFFF&
- BorderWidth = 0
- ConvInfo = SPLITTER.FRX:0000
- Height = 3720
- IntBkg = &H0080FFFF&
- Left = 0
- Splitter = 1 'Yes (with uneven AutoSize)
- TabIndex = 0
- Top = 0
- Width = 8415
- Begin VideoSoftElastic MiddleElastic
- AutoSizeChildren= 1 'Even Horizontal
- BevelInner = 9 'Inset New Look
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- BorderWidth = 12
- ConvInfo = SPLITTER.FRX:000B
- Height = 3720
- IntBkg = &H00C0C0C0&
- Left = 2475
- TabIndex = 5
- Top = 0
- Width = 2835
- Begin TextBox Text2
- BorderStyle = 0 'None
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3360
- Left = 180
- TabIndex = 7
- Text = "Text2"
- Top = 180
- Width = 2475
- End
- End
- Begin VideoSoftElastic LeftElastic
- AutoSizeChildren= 1 'Even Horizontal
- BevelInner = 9 'Inset New Look
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- BorderWidth = 12
- ConvInfo = SPLITTER.FRX:0016
- Height = 3720
- IntBkg = &H00C0C0C0&
- Left = 0
- TabIndex = 4
- Top = 0
- Width = 2385
- Begin TextBox Text1
- BorderStyle = 0 'None
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3360
- Left = 180
- TabIndex = 6
- Text = "Text1"
- Top = 180
- Width = 2025
- End
- End
- Begin VideoSoftElastic RightElastic
- AutoSizeChildren= 4 'Uneven Vertical
- BackColor = &H0080FFFF&
- BorderWidth = 0
- ConvInfo = SPLITTER.FRX:0021
- Height = 3720
- IntBkg = &H0080FFFF&
- Left = 5400
- Splitter = 1 'Yes (with uneven AutoSize)
- TabIndex = 1
- Top = 0
- Width = 3015
- Begin VideoSoftElastic ElasticTop
- AutoSizeChildren= 3 'Even Vertical
- BevelInner = 0 'None
- BevelInnerWidth = 3
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- BorderWidth = 12
- ChildSpacing = 10
- ConvInfo = SPLITTER.FRX:002C
- Height = 2985
- IntBkg = &H00C0C0C0&
- Left = 0
- TabIndex = 3
- Top = 0
- Width = 3015
- Begin VideoSoftElastic Command1
- BevelInner = 0 'None
- BevelOuter = 8 'Raised New Look
- CaptionPos = 4 'Center Center
- ConvInfo = SPLITTER.FRX:0037
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 540
- Index = 3
- IntBkg = &H00C0C0C0&
- Left = 180
- Style = 3 'Command Button
- TabIndex = 11
- Top = 2265
- Width = 2655
- End
- Begin VideoSoftElastic Command1
- BevelInner = 0 'None
- BevelOuter = 8 'Raised New Look
- CaptionPos = 4 'Center Center
- ConvInfo = SPLITTER.FRX:0042
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 540
- Index = 2
- IntBkg = &H00C0C0C0&
- Left = 180
- Style = 3 'Command Button
- TabIndex = 10
- Top = 1575
- Width = 2655
- End
- Begin VideoSoftElastic Command1
- AccessKey = -1 'True
- BevelInner = 0 'None
- BevelOuter = 8 'Raised New Look
- Caption = "&Fonts"
- CaptionPos = 4 'Center Center
- ConvInfo = SPLITTER.FRX:004D
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 540
- Index = 1
- IntBkg = &H00C0C0C0&
- Left = 180
- Style = 3 'Command Button
- TabIndex = 9
- Top = 885
- Width = 2655
- End
- Begin VideoSoftElastic Command1
- AccessKey = -1 'True
- BevelInner = 0 'None
- BevelOuter = 8 'Raised New Look
- Caption = "&Colors"
- CaptionPos = 4 'Center Center
- ConvInfo = SPLITTER.FRX:0058
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 555
- Index = 0
- IntBkg = &H00C0C0C0&
- Left = 180
- Style = 3 'Command Button
- TabIndex = 8
- Top = 180
- Width = 2655
- End
- End
- Begin VideoSoftElastic ElasticBottom
- AutoSizeChildren= 1 'Even Horizontal
- BevelInner = 0 'None
- BevelInnerWidth = 4
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- BorderWidth = 10
- ChildSpacing = 12
- ConvInfo = SPLITTER.FRX:0063
- Height = 645
- IntBkg = &H00C0C0C0&
- Left = 0
- TabIndex = 2
- Top = 3075
- Width = 3015
- Begin VideoSoftElastic Command1
- BevelInner = 0 'None
- BevelOuter = 8 'Raised New Look
- Caption = "C"
- CaptionPos = 4 'Center Center
- ConvInfo = SPLITTER.FRX:006E
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 345
- Index = 6
- IntBkg = &H00C0C0C0&
- Left = 2085
- Style = 3 'Command Button
- TabIndex = 14
- Top = 150
- Width = 780
- End
- Begin VideoSoftElastic Command1
- BevelInner = 0 'None
- BevelOuter = 8 'Raised New Look
- Caption = "B"
- CaptionPos = 4 'Center Center
- ConvInfo = SPLITTER.FRX:0079
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 345
- Index = 5
- IntBkg = &H00C0C0C0&
- Left = 1125
- Style = 3 'Command Button
- TabIndex = 13
- Top = 150
- Width = 780
- End
- Begin VideoSoftElastic Command1
- BevelInner = 0 'None
- BevelOuter = 8 'Raised New Look
- Caption = "A"
- CaptionPos = 4 'Center Center
- ConvInfo = SPLITTER.FRX:0084
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 345
- Index = 4
- IntBkg = &H00C0C0C0&
- Left = 150
- Style = 3 'Command Button
- TabIndex = 12
- Top = 150
- Width = 795
- End
- End
- End
- End
- Option Explicit
- Sub Command1_Click (Index As Integer)
- Dim newcolor&
- Select Case Index
- Case 0 'Change to random colors
- newcolor = QBColor(Rnd * 15)
- MainElastic.BackColor = newcolor
- RightElastic.BackColor = newcolor
- Case 1 'Fonts
- Text1.FontSize = (Text1.FontSize + 2) Mod 13
- Text2.FontSize = (Text2.FontSize + 2) Mod 13
-
- End Select
- End Sub
-