home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form fProp
- Caption = "Proportional Resizing : Resize the form"
- Height = 3810
- Left = 1155
- LinkTopic = "Form1"
- ScaleHeight = 3345
- ScaleWidth = 5100
- Top = 1230
- Width = 5280
- Begin VideoSoftElastic VSElastic1
- Align = 5 'Fill Container
- AutoSizeChildren= 7 'Proportional
- BackColor = &H00C0C0C0&
- BevelOuter = 1 'Raised
- BevelOuterWidth = 1
- Height = 3345
- Left = 0
- TabIndex = 0
- Top = 0
- Width = 5100
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&Help"
- Height = 555
- Left = 1440
- TabIndex = 2
- Top = 2565
- Width = 1995
- End
- Begin TextBox Text1
- BackColor = &H00FFFFFF&
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 12
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00FF0000&
- Height = 1725
- Left = 1845
- MultiLine = -1 'True
- ScrollBars = 2 'Vertical
- TabIndex = 1
- Text = "Proportional Resizing locks the controls in place at design time"
- Top = 405
- Width = 2895
- End
- Begin Image Image1
- Height = 1095
- Left = 405
- Picture = FPROP.FRX:0000
- Stretch = -1 'True
- Top = 360
- Width = 1140
- End
- End
- Option Explicit
- Sub Command1_Click ()
- MsgBox "This is done with only one elastic that fills the container and its AutoSizeChildren property set to proportional"
- End Sub
-