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
/
frmMain.frm
< prev
next >
Wrap
Text File
|
1999-10-24
|
10KB
|
319 lines
VERSION 5.00
Object = "{5F697190-7457-11D3-930E-0000B4BDB148}#2.0#0"; "THBRes20.dll"
Begin VB.Form frmMain
Caption = "THBResize"
ClientHeight = 1920
ClientLeft = 48
ClientTop = 336
ClientWidth = 6792
LinkTopic = "Form1"
ScaleHeight = 1920
ScaleWidth = 6792
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton butNewToVer2
BackColor = &H0080FFFF&
Caption = "New to Version 2.0"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 5040
Style = 1 'Graphical
TabIndex = 12
Top = 1320
Width = 1572
End
Begin VB.CommandButton butExclude
BackColor = &H0080FFFF&
Caption = "Exclude"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 3360
Style = 1 'Graphical
TabIndex = 11
Top = 1320
Width = 1572
End
Begin VB.CommandButton butDemo
BackColor = &H0080FFFF&
Caption = "Demo"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 5040
Style = 1 'Graphical
TabIndex = 9
Top = 720
Width = 1572
End
Begin VB.CommandButton butKeepAspect
BackColor = &H0080FFFF&
Caption = "Keep Aspect"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 1680
Style = 1 'Graphical
TabIndex = 8
Top = 1320
Width = 1572
End
Begin VB.CommandButton butKeepHeight
BackColor = &H0080FFFF&
Caption = "Keep Original Height"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 1680
Style = 1 'Graphical
TabIndex = 7
Top = 720
Width = 1572
End
Begin VB.CommandButton butFrames
BackColor = &H0080FFFF&
Caption = "Frames"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 5040
Style = 1 'Graphical
TabIndex = 6
Top = 120
Width = 1572
End
Begin VB.CommandButton butFixVertBorders
BackColor = &H0080FFFF&
Caption = "Fix Vert. Borders"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 3360
Style = 1 'Graphical
TabIndex = 5
Top = 720
Width = 1572
End
Begin VB.CommandButton butFixHorzBorders
BackColor = &H0080FFFF&
Caption = "Fix Horiz. Borders"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 3360
Style = 1 'Graphical
TabIndex = 4
Top = 120
Width = 1572
End
Begin VB.CommandButton butKeepWidth
BackColor = &H0080FFFF&
Caption = "Keep Original Width"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 1680
Style = 1 'Graphical
TabIndex = 3
Top = 120
Width = 1572
End
Begin VB.CommandButton butResizeFont
BackColor = &H0080FFFF&
Caption = "Resize Font"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 120
Style = 1 'Graphical
TabIndex = 2
Top = 1320
Width = 1332
End
Begin VB.CommandButton butHideSmall
BackColor = &H0080FFFF&
Caption = "Hide Small Controls"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 120
Style = 1 'Graphical
TabIndex = 1
Top = 720
Width = 1332
End
Begin VB.CommandButton butLimitSize
BackColor = &H0080FFFF&
Caption = "Limit Formsize"
BeginProperty Font
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 120
Style = 1 'Graphical
TabIndex = 0
Top = 120
Width = 1332
End
Begin THBResizeLibCtl.THBResize THBResize1
Height = 252
Left = 0
TabIndex = 10
Top = 1680
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= 0 'False
NumSpecialObjects= 0
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub butDemo_Click()
frmDemo2.Show vbModal, Me
End Sub
Private Sub butExclude_Click()
frmExclude.Show vbModal, Me
End Sub
Private Sub butFixHorzBorders_Click()
frmFixHorizBorders.Show vbModal, Me
End Sub
Private Sub butFixVertBorders_Click()
frmFixVertBorders.Show vbModal, Me
End Sub
Private Sub butFrames_Click()
frmFrames.Show vbModal, Me
End Sub
Private Sub butHideSmall_Click()
frmHideSmallControls.Show vbModal, Me
End Sub
Private Sub butKeepAspect_Click()
frmKeepAspect.Show vbModal, Me
End Sub
Private Sub butKeepHeight_Click()
frmKeepHeight.Show vbModal, Me
End Sub
Private Sub butKeepWidth_Click()
frmKeepWidth.Show vbModal, Me
End Sub
Private Sub butLimitSize_Click()
frmLimitSize.Show vbModal, Me
End Sub
Private Sub butNewToVer2_Click()
frmNewToVersion2.Show vbModal, Me
End Sub
Private Sub butResizeFont_Click()
frmResizeFont.Show vbModal, Me
End Sub
Private Sub Form_Load()
THBResize1.hWnd = Me.hWnd
End Sub