home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmTest8
- AutoRedraw = -1 'True
- BorderStyle = 0 'None
- ClientHeight = 2796
- ClientLeft = 0
- ClientTop = 0
- ClientWidth = 3504
- ControlBox = 0 'False
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2796
- ScaleWidth = 3504
- ShowInTaskbar = 0 'False
- Begin VB.CommandButton cmdDestroy
- Caption = "Command1"
- Height = 432
- Left = 120
- TabIndex = 0
- Top = 600
- Width = 3252
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- Caption = "Clicking on this button will destroy selected window."
- Height = 372
- Left = 120
- TabIndex = 1
- Top = 120
- Width = 3132
- End
- Attribute VB_Name = "frmTest8"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Public Sub RefreshState()
- Dim w As sgWindow.Window
- Set w = frmMain.g_wndTest
- cmdDestroy.Caption = "Destroy '" & frmMain.GetWindowDescription(w) & "'"
- End Sub
- Private Sub cmdDestroy_Click()
- frmMain.g_wndTest.Destroy
- End Sub
-