home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Anthology
/
aDELPHI.iso
/
ActiveX
/
THBResize.ActiveX.v2.0.Win9xNT.Incl.Keymaker-CORE
/
data1.cab
/
Example_Files
/
VbDemo1
/
frmFrames.frm
< prev
next >
Wrap
Text File
|
1999-10-24
|
14KB
|
417 lines
VERSION 5.00
Object = "{5F697190-7457-11D3-930E-0000B4BDB148}#2.0#0"; "THBRes20.dll"
Begin VB.Form frmFrames
Caption = "Frames"
ClientHeight = 3756
ClientLeft = 48
ClientTop = 336
ClientWidth = 5892
LinkTopic = "Form1"
ScaleHeight = 3756
ScaleWidth = 5892
StartUpPosition = 3 'Windows Default
Begin VB.Frame Frame1
Caption = "Frame1"
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1812
Left = 120
TabIndex = 0
Top = 120
Width = 2532
Begin THBResizeLibCtl.THBResize THBResize2
Height = 252
Left = 0
TabIndex = 16
Top = 1560
Width = 372
_cx = 656
_cy = 444
NoFontResizeAll = 0 'False
ResizeOnlyDirectChilds= -1 'True
LimitFormWidthMin= 0
LimitFormWidthMax= 0
LimitFormHeightMin= 0
LimitFormHeightMax= 0
HideControlsSmallerThanWidth= 0
HideControlsSmallerThanHeight= 0
FontSizeRelativeToWidthAndHeight= -1 'True
NumSpecialObjects= 0
End
Begin VB.Shape Shape6
BorderColor = &H0000FF00&
BorderWidth = 5
Height = 612
Left = 1800
Shape = 4 'Rounded Rectangle
Top = 1080
Width = 612
End
Begin VB.Shape Shape5
FillColor = &H00FFFF00&
FillStyle = 0 'Solid
Height = 612
Left = 840
Top = 1080
Width = 852
End
Begin VB.Shape Shape4
BorderStyle = 0 'Transparent
FillColor = &H00FF00FF&
FillStyle = 0 'Solid
Height = 612
Left = 120
Shape = 3 'Circle
Top = 1080
Width = 612
End
Begin VB.Shape Shape3
BorderWidth = 2
FillColor = &H0000FF00&
FillStyle = 0 'Solid
Height = 612
Left = 1800
Shape = 5 'Rounded Square
Top = 240
Width = 612
End
Begin VB.Shape Shape2
BorderWidth = 4
FillColor = &H00FF0000&
FillStyle = 7 'Diagonal Cross
Height = 612
Left = 840
Shape = 2 'Oval
Top = 240
Width = 852
End
Begin VB.Shape Shape1
BorderColor = &H80000002&
BorderWidth = 4
FillColor = &H000000FF&
FillStyle = 0 'Solid
Height = 612
Left = 120
Top = 240
Width = 612
End
End
Begin VB.Frame Frame3
Caption = "Frame3"
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1452
Left = 120
TabIndex = 2
Top = 2160
Width = 5652
Begin VB.ListBox List1
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1008
IntegralHeight = 0 'False
ItemData = "frmFrames.frx":0000
Left = 3000
List = "frmFrames.frx":0016
TabIndex = 9
Top = 360
Width = 2532
End
Begin VB.TextBox Text3
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 288
Left = 1200
TabIndex = 8
Text = "Text3"
Top = 1080
Width = 1692
End
Begin VB.TextBox Text2
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 288
Left = 1200
TabIndex = 7
Text = "Text2"
Top = 720
Width = 1692
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 288
Left = 1200
TabIndex = 6
Text = "Text1"
Top = 360
Width = 1692
End
Begin VB.Label Label3
Caption = "Comment3"
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 252
Left = 120
TabIndex = 5
Top = 1080
Width = 852
End
Begin VB.Label Label2
Caption = "Comment2"
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 252
Left = 120
TabIndex = 4
Top = 720
Width = 852
End
Begin VB.Label Label1
Caption = "Comment1"
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 252
Left = 120
TabIndex = 3
Top = 360
Width = 852
End
Begin THBResizeLibCtl.THBResize THBResize4
Height = 252
Left = 0
TabIndex = 17
Top = 1200
Width = 372
_cx = 656
_cy = 444
NoFontResizeAll = 0 'False
ResizeOnlyDirectChilds= -1 'True
LimitFormWidthMin= 0
LimitFormWidthMax= 0
LimitFormHeightMin= 0
LimitFormHeightMax= 0
HideControlsSmallerThanWidth= 0
HideControlsSmallerThanHeight= 0
FontSizeRelativeToWidthAndHeight= -1 'True
NumSpecialObjects= 0
End
End
Begin VB.Frame Frame2
Caption = "Frame2"
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1812
Left = 2880
TabIndex = 1
Top = 120
Width = 2892
Begin VB.CheckBox Check3
Caption = "Check3"
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 252
Left = 120
TabIndex = 13
Top = 1440
Width = 1932
End
Begin VB.CheckBox Check2
Caption = "Check2"
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 252
Left = 120
TabIndex = 12
Top = 1080
Width = 1812
End
Begin VB.CheckBox Check1
Caption = "Check1"
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 252
Left = 120
TabIndex = 11
Top = 720
Width = 2652
End
Begin VB.ComboBox Combo1
BeginProperty Font
Name = "Tahoma"
Size = 7.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 288
IntegralHeight = 0 'False
ItemData = "frmFrames.frx":0086
Left = 120
List = "frmFrames.frx":0099
TabIndex = 10
Text = "Combo1"
Top = 240
Width = 2652
End
Begin THBResizeLibCtl.THBResize THBResize3
Height = 252
Left = 2400
TabIndex = 15
Top = 1560
Width = 492
_cx = 868
_cy = 444
NoFontResizeAll = 0 'False
ResizeOnlyDirectChilds= -1 'True
LimitFormWidthMin= 0
LimitFormWidthMax= 0
LimitFormHeightMin= 0
LimitFormHeightMax= 0
HideControlsSmallerThanWidth= 0
HideControlsSmallerThanHeight= 0
FontSizeRelativeToWidthAndHeight= -1 'True
NumSpecialObjects= 0
End
End
Begin THBResizeLibCtl.THBResize THBResize1
Height = 252
Left = 0
TabIndex = 14
Top = 3480
Width = 372
_cx = 656
_cy = 444
NoFontResizeAll = 0 'False
ResizeOnlyDirectChilds= -1 'True
LimitFormWidthMin= 0
LimitFormWidthMax= 0
LimitFormHeightMin= 0
LimitFormHeightMax= 0
HideControlsSmallerThanWidth= 0
HideControlsSmallerThanHeight= 0
FontSizeRelativeToWidthAndHeight= -1 'True
NumSpecialObjects= 0
End
End
Attribute VB_Name = "frmFrames"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
THBResize1.hWnd = Me.hWnd
THBResize2.hWnd = Frame1.hWnd
THBResize4.hWnd = Frame3.hWnd
THBResize3.hWnd = Frame2.hWnd
End Sub
'If there are more than one Resizer on the form,
'each one must be started if the outermost one
'starts.
'In this example THBResize1 is the outermost,
'because Frame1, Frame2, Frame3 are direct
'childs from THBResize1
Private Sub THBResize1_BeforeStartResize()
THBResize1.StartResize
THBResize2.StartResize
THBResize3.StartResize
THBResize4.StartResize
End Sub