home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
102
/
3CTRLS.ZIP
/
FBUTTONS.FRM
< prev
next >
Wrap
Text File
|
1993-10-05
|
10KB
|
284 lines
VERSION 2.00
Begin Form fButtons
Caption = "Be original!!"
Height = 5655
Left = 630
LinkTopic = "Form1"
ScaleHeight = 5190
ScaleWidth = 5145
Top = 375
Width = 5325
Begin VideoSoftElastic VSElastic4
Align = 5 'Fill Container
BackColor = &H00C0C0C0&
BevelOuter = 1 'Raised
BevelOuterWidth = 1
Height = 4605
Left = 0
TabIndex = 7
Top = 0
Width = 3015
Begin VideoSoftElastic VSElastic3
BackColor = &H00C0C0C0&
BevelInnerWidth = 0
BevelOuterWidth = 4
Caption = "Push Button "
CaptionPos = 7 'Right Center
Height = 840
Index = 1
Left = 315
TabIndex = 10
Top = 1620
Width = 2175
Begin Image Image2
Height = 480
Index = 1
Left = 225
Picture = FBUTTONS.FRX:0000
Top = 180
Width = 480
End
End
Begin VideoSoftElastic VSElastic3
AutoSizeChildren= 7 'Proportional
BackColor = &H00C0C0C0&
BevelInnerWidth = 0
BevelOuterWidth = 4
CaptionPos = 4 'Center Center
Height = 840
Index = 0
Left = 315
TabIndex = 1
TagWidth = 1500
Top = 630
Width = 2190
Begin Image Image2
Height = 480
Index = 0
Left = 1485
Picture = FBUTTONS.FRX:0302
Tag = "Toggle Button"
Top = 180
Width = 480
End
End
Begin VideoSoftElastic VSElastic2
BackColor = &H00C0C0C0&
BevelInner = 0 'None
BevelOuterWidth = 4
Caption = "Multi-line Caption"
CaptionPos = 5 'Center Bottom
Height = 1185
Index = 0
Left = 540
TabIndex = 8
Top = 3015
Width = 1320
Begin Image Image1
Height = 480
Index = 0
Left = 405
Picture = FBUTTONS.FRX:0604
Stretch = -1 'True
Top = 180
Width = 480
End
End
End
Begin VideoSoftElastic VSElastic1
Align = 4 'Align Right
AutoSizeChildren= 3 'Even Vertical
BackColor = &H00C0C0C0&
BevelInner = 0 'None
BevelOuter = 1 'Raised
BevelOuterWidth = 1
Height = 4605
Left = 3015
TabIndex = 0
Top = 0
Width = 2130
Begin VideoSoftElastic VSElastic2
AutoSizeChildren= 7 'Proportional
BackColor = &H00C0C0C0&
BevelInner = 0 'None
BevelOuterWidth = 4
Caption = "Meals"
CaptionPos = 7 'Right Center
Height = 660
Index = 3
Left = 90
TabIndex = 9
Top = 1605
Width = 1950
Begin Image Image1
Height = 450
Index = 3
Left = 135
Picture = FBUTTONS.FRX:0906
Stretch = -1 'True
Top = 90
Width = 480
End
End
Begin VideoSoftElastic VSElastic2
AutoSizeChildren= 7 'Proportional
BackColor = &H00C0C0C0&
BevelInner = 0 'None
BevelOuterWidth = 4
Caption = "Mail"
Height = 660
Index = 8
Left = 90
TabIndex = 6
Top = 3105
Width = 1950
Begin Image Image1
Height = 450
Index = 8
Left = 1395
Picture = FBUTTONS.FRX:0C08
Stretch = -1 'True
Top = 90
Width = 480
End
End
Begin VideoSoftElastic VSElastic2
AutoSizeChildren= 7 'Proportional
BackColor = &H00C0C0C0&
BevelInner = 0 'None
BevelOuterWidth = 4
Caption = "Phones"
Height = 660
Index = 6
Left = 90
TabIndex = 5
Top = 3855
Width = 1950
Begin Image Image1
Height = 450
Index = 6
Left = 1350
Picture = FBUTTONS.FRX:0F0A
Stretch = -1 'True
Top = 90
Width = 480
End
End
Begin VideoSoftElastic VSElastic2
AutoSizeChildren= 7 'Proportional
BackColor = &H00C0C0C0&
BevelInner = 0 'None
BevelOuterWidth = 4
Caption = "Restrooms"
Height = 660
Index = 5
Left = 90
TabIndex = 4
Top = 2355
Width = 1950
Begin Image Image1
Height = 450
Index = 5
Left = 1350
Picture = FBUTTONS.FRX:120C
Stretch = -1 'True
Top = 120
Width = 480
End
End
Begin VideoSoftElastic VSElastic2
AutoSizeChildren= 7 'Proportional
BackColor = &H00C0C0C0&
BevelInner = 0 'None
BevelOuterWidth = 4
Caption = "Information"
CaptionPos = 7 'Right Center
Height = 660
Index = 2
Left = 90
TabIndex = 3
Top = 855
Width = 1950
Begin Image Image1
Height = 450
Index = 2
Left = 135
Picture = FBUTTONS.FRX:150E
Stretch = -1 'True
Top = 90
Width = 480
End
End
Begin VideoSoftElastic VSElastic2
AutoSizeChildren= 7 'Proportional
BackColor = &H00C0C0C0&
BevelInner = 0 'None
BevelOuterWidth = 4
Caption = "Hours"
CaptionPos = 7 'Right Center
Height = 675
Index = 1
Left = 90
TabIndex = 2
Top = 90
Width = 1950
Begin Image Image1
Height = 450
Index = 1
Left = 135
Picture = FBUTTONS.FRX:1810
Stretch = -1 'True
Top = 135
Width = 480
End
End
End
Begin VideoSoftElastic VSElastic5
Align = 2 'Align Bottom
BackColor = &H00C0C0C0&
Caption = "Combination of Elastics and Image controls."
CaptionPos = 4 'Center Center
Height = 585
Left = 0
TabIndex = 11
Top = 4605
Width = 5145
End
End
Option Explicit
Sub Image1_MouseDown (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
VSElastic2(Index).BevelOuter = 4
End Sub
Sub Image1_MouseUp (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
VSElastic2(Index).BevelOuter = 2
End Sub
Sub Image2_Click (Index As Integer)
If VSElastic3(Index).BevelOuter = 2 Then
VSElastic3(Index).BevelOuter = 4
Else
VSElastic3(Index).BevelOuter = 2
End If
End Sub
Sub VSElastic2_MouseDown (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
VSElastic2(Index).BevelOuter = 4
End Sub
Sub VSElastic2_MouseUp (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
VSElastic2(Index).BevelOuter = 2
End Sub
Sub VSElastic3_Click (Index As Integer)
If VSElastic3(Index).BevelOuter = 2 Then
VSElastic3(Index).BevelOuter = 4
Else
VSElastic3(Index).BevelOuter = 2
End If
End Sub