home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
basic
/
library
/
vb
/
3ctrls
/
menu.frm
< prev
next >
Wrap
Text File
|
1993-07-16
|
6KB
|
190 lines
VERSION 2.00
Begin Form fMenu
BackColor = &H00C0C0C0&
Caption = "Resize me and see buttons size and elastic caption"
ClientHeight = 3765
ClientLeft = 195
ClientTop = 1665
ClientWidth = 6450
Height = 4230
Left = 105
LinkTopic = "Form2"
ScaleHeight = 3765
ScaleWidth = 6450
Top = 1290
Width = 6630
Begin VideoSoftElastic VSElastic1
Align = 5 'Fill Container
AutoSizeChildren= 0 'None
BackColor = &H00C0C0C0&
BevelInner = 3 'Inset
BevelInnerWidth = 1
BevelOuter = 1 'Raised
BevelOuterWidth = 2
BorderWidth = 6
Caption = "Welcome to the VideoSoft Custom Control Library Demo"
CaptionPos = 4 'Center Center
ChildSpacing = 6
FloodColor = &H000000C0&
FloodDirection = 0 'None
FloodPercent = 0
FontBold = -1 'True
FontItalic = -1 'True
FontName = "Arial"
FontSize = 18
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00000080&
Height = 3240
Index = 0
Left = 0
Splitter = 0 'No
TabIndex = 4
Top = 0
Width = 3375
End
Begin VideoSoftElastic VSElastic1
Align = 4 'Align Right
AutoSizeChildren= 3 'Even Vertically
BackColor = &H00C0C0C0&
BevelInner = 3 'Inset
BevelInnerWidth = 1
BevelOuter = 1 'Raised
BevelOuterWidth = 2
BorderWidth = 6
Caption = ""
CaptionPos = 1 'Left Center
ChildSpacing = 6
FloodColor = &H000000C0&
FloodDirection = 0 'None
FloodPercent = 0
Height = 3240
Index = 1
Left = 3375
Splitter = 0 'No
TabIndex = 6
Top = 0
Width = 3075
Begin CommandButton Command1
BackColor = &H00808080&
Caption = "Elastic - &Splitter bars"
Height = 540
Index = 0
Left = 90
TabIndex = 0
Top = 720
Width = 2895
End
Begin CommandButton Command1
BackColor = &H00808080&
Caption = "Elastic - &Resizing/Flood"
Height = 540
Index = 1
Left = 90
TabIndex = 1
Top = 1350
Width = 2895
End
Begin CommandButton Command1
BackColor = &H00808080&
Caption = "&IndexTab"
Height = 540
Index = 2
Left = 90
TabIndex = 2
Top = 1980
Width = 2895
End
Begin CommandButton Command1
BackColor = &H00808080&
Caption = "&AWKsome"
Height = 540
Index = 3
Left = 90
TabIndex = 3
Top = 2610
Width = 2895
End
Begin VideoSoftElastic VSElastic2
Align = 0 'None
AutoSizeChildren= 0 'None
BackColor = &H00000000&
BevelInner = 3 'Inset
BevelInnerWidth = 1
BevelOuter = 2 'Raised Outlined
BevelOuterWidth = 2
BorderWidth = 0
Caption = "Examples"
CaptionPos = 4 'Center Center
ChildSpacing = 6
FloodColor = &H000000C0&
FloodDirection = 0 'None
FloodPercent = 0
FontBold = -1 'True
FontItalic = -1 'True
FontName = "Arial"
FontSize = 18
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H0000FFFF&
Height = 540
Left = 90
Splitter = 0 'No
TabIndex = 7
Top = 90
Width = 2895
End
End
Begin VideoSoftElastic StatusBar
Align = 2 'Align Bottom
AutoSizeChildren= 2 'Uneven Horizontally
BackColor = &H00C0C0C0&
BevelInner = 0 'None
BevelInnerWidth = 1
BevelOuter = 2 'Raised Outlined
BevelOuterWidth = 2
BorderWidth = 2
Caption = "VideoSoft, 2625 Alcatraz Avenue, Suite 271, Berkeley, California (510) 547-7295"
CaptionPos = 4 'Center Center
ChildSpacing = 6
FloodColor = &H000000C0&
FloodDirection = 0 'None
FloodPercent = 0
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00000000&
Height = 525
Left = 0
Splitter = 0 'No
TabIndex = 5
Top = 3240
Width = 6450
End
End
Option Explicit
Sub Command1_Click (Index As Integer)
mousepointer = 11
Select Case Index
Case 0
Splitter.Show 1
Case 1
fFlood.Show 1
Case 2
IndexTab.Show 1
Case 3
Awk.Show 1
End Select
mousepointer = 0
End Sub
Sub Form_Resize ()
' to wake up the elastic
StatusBar.Top = 0
End Sub