home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
code
/
design
/
mstips
/
tipdemo2.frm
< prev
Wrap
Text File
|
1995-02-27
|
3KB
|
104 lines
VERSION 2.00
Begin Form Form2
Caption = "Form2"
ClientHeight = 1305
ClientLeft = 1305
ClientTop = 4230
ClientWidth = 3675
Height = 1710
Left = 1245
LinkTopic = "Form2"
ScaleHeight = 1305
ScaleWidth = 3675
Top = 3885
Width = 3795
Begin OptionButton Option1
Caption = "Option1"
Height = 315
HelpContextID = 2004
Left = 2340
TabIndex = 4
Tag = "Form2 - Option Button"
Top = 720
Width = 1155
End
Begin ComboBox Combo1
Height = 300
HelpContextID = 2003
Left = 120
TabIndex = 3
Tag = "Form2 - Combo Box"
Text = "Combo1"
Top = 720
Width = 2115
End
Begin PictureBox Picture1
Align = 1 'Align Top
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 555
HelpContextID = 2005
Left = 0
ScaleHeight = 555
ScaleWidth = 3675
TabIndex = 0
Top = 0
Width = 3675
Begin CommandButton Command2
Caption = "Command2"
Height = 435
HelpContextID = 2002
Left = 1200
TabIndex = 2
Tag = "Form2 - Command Button #2"
Top = 60
Width = 1155
End
Begin CommandButton Command1
Caption = "Command1"
Height = 435
HelpContextID = 2001
Left = 60
TabIndex = 1
Tag = "Form2 - Command Button #1"
Top = 60
Width = 1095
End
Begin Label Label1
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Caption = "Labels don't have an hWnd"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 435
Left = 2400
TabIndex = 5
Top = 60
Width = 1215
End
End
End
Option Explicit
'See comments in TIPDEMO.BAS
Sub Form_Activate ()
Call dutip_SetTipForm(Me)
End Sub
Sub Form_QueryUnload (Cancel As Integer, UnloadMode As Integer)
If UnloadMode <> 1 Then 'via code
Cancel = True
Call EndMain
End If
End Sub