home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form fNolabels
- BackColor = &H00C0C0C0&
- Caption = "There are no labels on this form"
- ClientHeight = 5370
- ClientLeft = 510
- ClientTop = 1215
- ClientWidth = 5700
- Height = 5835
- Left = 420
- LinkTopic = "Form2"
- ScaleHeight = 5370
- ScaleWidth = 5700
- Top = 840
- Width = 5880
- Begin VideoSoftElastic VSElastic3
- Align = 5 'Fill Container
- AutoSizeChildren= 4 'Uneven Vertical
- BevelInner = 0 'None
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- BorderWidth = 8
- ConvInfo = FNOLABEL.FRX:0000
- Height = 4770
- IntBkg = &H00C0C0C0&
- Left = 0
- TabIndex = 4
- Top = 0
- Width = 5700
- Begin VideoSoftElastic VSElastic4
- AccessKey = -1 'True
- AutoSizeChildren= 1 'Even Horizontal
- BevelInner = 7 'Shadow
- BevelInnerWidth = 4
- BevelOuter = 8 'Raised New Look
- BorderWidth = 14
- CaptionPos = 0 'Left Top
- ChildSpacing = 12
- ConvInfo = FNOLABEL.FRX:000B
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 2655
- IntBkg = &H00C0C0C0&
- Left = 120
- Style = 2 'Frame Bottom
- TabIndex = 9
- TagPosition = 1 'Above
- TagWidth = 600
- Top = 1995
- Width = 5460
- Begin TextBox Text
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 1395
- Index = 1
- Left = 210
- MultiLine = -1 'True
- TabIndex = 11
- Tag = "&Bill To"
- Text = "Click me with the right button and Drag and Drop me to the left or right of the Ship To box."
- Top = 810
- Width = 2430
- End
- Begin TextBox Text
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 1395
- Index = 0
- Left = 2820
- TabIndex = 10
- Tag = "Sh&ip To"
- Top = 810
- Width = 2430
- End
- End
- Begin VideoSoftElastic VSElastic1
- AccessKey = -1 'True
- AutoSizeChildren= 3 'Even Vertical
- BevelInner = 9 'Inset New Look
- BevelInnerWidth = 2
- BevelOuter = 8 'Raised New Look
- BorderWidth = 20
- ChildSpacing = 12
- ConvInfo = FNOLABEL.FRX:0016
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 1785
- IntBkg = &H00C0C0C0&
- Left = 120
- TabIndex = 5
- TagWidth = 1500
- Top = 120
- Width = 5460
- Begin TextBox Text1
- BorderStyle = 0 'None
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 285
- Index = 0
- Left = 1800
- TabIndex = 8
- Tag = "&First Name"
- Text = "Text1"
- Top = 300
- Width = 3360
- End
- Begin TextBox Text1
- BorderStyle = 0 'None
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 270
- Index = 1
- Left = 1800
- TabIndex = 7
- Tag = "&Last Name"
- Text = "Text1"
- Top = 765
- Width = 3360
- End
- Begin TextBox Text1
- BorderStyle = 0 'None
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 270
- Index = 2
- Left = 1800
- TabIndex = 6
- Tag = "&Company"
- Text = "Text1"
- Top = 1215
- Width = 3360
- End
- End
- End
- Begin VideoSoftElastic VSElastic2
- Align = 2 'Bottom
- AutoSizeChildren= 1 'Even Horizontal
- BevelInner = 0 'None
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- ConvInfo = FNOLABEL.FRX:0021
- Height = 600
- IntBkg = &H00C0C0C0&
- Left = 0
- TabIndex = 0
- Top = 4770
- Width = 5700
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&TagPosition"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 420
- Index = 4
- Left = 1215
- TabIndex = 13
- Top = 90
- Width = 1035
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&Shadow"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 420
- Index = 3
- Left = 3465
- TabIndex = 12
- Top = 90
- Width = 1035
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&Hint"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 420
- Index = 2
- Left = 4590
- TabIndex = 3
- Top = 90
- Width = 1020
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "F&oreColor"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 420
- Index = 1
- Left = 2340
- TabIndex = 2
- Top = 90
- Width = 1035
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "Caption&Pos"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 420
- Index = 0
- Left = 90
- TabIndex = 1
- Top = 90
- Width = 1035
- End
- End
- Option Explicit
- Sub Command1_Click (Index As Integer)
- Select Case Index
- Case 0 'Change Caption Positions
- VSElastic1.CaptionPos = (VSElastic1.CaptionPos + 1) Mod 9
-
- Case 1 'Change to random colors
- VSElastic1.ForeColor = QBColor(Rnd * 15)
-
- Case 2
- MsgBox "Check the Tag property of the text boxes and the TagWidth and TagPosition properties of the Elastic"
- Case 3 'Shadows
- VSElastic4.ShadowColor = QBColor(Rnd * 15)
- Case 4 'TagPosition
- VSElastic4.TagPosition = (VSElastic4.TagPosition + 1) Mod 4
- End Select
- End Sub
- Sub Text_DragDrop (Index As Integer, source As Control, X As Single, Y As Single)
- If source.Left > Text(Index).Left Then
- source.Left = Text(Index).Left - 50
- Else
- source.Left = Text(Index).Left + 50
- End If
- End Sub
- Sub Text_MouseDown (Index As Integer, button As Integer, Shift As Integer, X As Single, Y As Single)
- If button = 2 Then Text(Index).Drag 1
- End Sub
-