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 / frmHideSmallControls.frm < prev    next >
Text File  |  1999-10-24  |  3KB  |  95 lines

  1. VERSION 5.00
  2. Object = "{5F697190-7457-11D3-930E-0000B4BDB148}#2.0#0"; "THBRes20.dll"
  3. Begin VB.Form frmHideSmallControls 
  4.    Caption         =   "Hide small controls"
  5.    ClientHeight    =   2496
  6.    ClientLeft      =   48
  7.    ClientTop       =   336
  8.    ClientWidth     =   3744
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   2496
  11.    ScaleWidth      =   3744
  12.    StartUpPosition =   3  'Windows Default
  13.    Begin VB.TextBox Text2 
  14.       BeginProperty Font 
  15.          Name            =   "Arial"
  16.          Size            =   7.8
  17.          Charset         =   0
  18.          Weight          =   400
  19.          Underline       =   0   'False
  20.          Italic          =   0   'False
  21.          Strikethrough   =   0   'False
  22.       EndProperty
  23.       Height          =   372
  24.       Left            =   600
  25.       TabIndex        =   2
  26.       Text            =   "Text2"
  27.       Top             =   1800
  28.       Width           =   972
  29.    End
  30.    Begin VB.TextBox Text1 
  31.       BeginProperty Font 
  32.          Name            =   "Arial"
  33.          Size            =   7.8
  34.          Charset         =   0
  35.          Weight          =   400
  36.          Underline       =   0   'False
  37.          Italic          =   0   'False
  38.          Strikethrough   =   0   'False
  39.       EndProperty
  40.       Height          =   372
  41.       Left            =   600
  42.       TabIndex        =   1
  43.       Text            =   "Text1"
  44.       Top             =   1080
  45.       Width           =   972
  46.    End
  47.    Begin THBResizeLibCtl.THBResize THBResize1 
  48.       Height          =   252
  49.       Left            =   120
  50.       TabIndex        =   3
  51.       Top             =   2160
  52.       Width           =   372
  53.       _cx             =   656
  54.       _cy             =   444
  55.       NoFontResizeAll =   0   'False
  56.       ResizeOnlyDirectChilds=   -1  'True
  57.       LimitFormWidthMin=   0
  58.       LimitFormWidthMax=   0
  59.       LimitFormHeightMin=   0
  60.       LimitFormHeightMax=   0
  61.       HideControlsSmallerThanWidth=   500
  62.       HideControlsSmallerThanHeight=   300
  63.       FontSizeRelativeToWidthAndHeight=   -1  'True
  64.       NumSpecialObjects=   0
  65.    End
  66.    Begin VB.Label Label1 
  67.       Caption         =   "The controls on this form disappear if they are very small"
  68.       BeginProperty Font 
  69.          Name            =   "Arial"
  70.          Size            =   7.8
  71.          Charset         =   0
  72.          Weight          =   400
  73.          Underline       =   0   'False
  74.          Italic          =   0   'False
  75.          Strikethrough   =   0   'False
  76.       EndProperty
  77.       Height          =   372
  78.       Left            =   480
  79.       TabIndex        =   0
  80.       Top             =   360
  81.       Width           =   2652
  82.    End
  83. End
  84. Attribute VB_Name = "frmHideSmallControls"
  85. Attribute VB_GlobalNameSpace = False
  86. Attribute VB_Creatable = False
  87. Attribute VB_PredeclaredId = True
  88. Attribute VB_Exposed = False
  89. Option Explicit
  90.  
  91. Private Sub Form_Load()
  92.     THBResize1.hWnd = Me.hWnd
  93. End Sub
  94.  
  95.