home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 July & August
/
Pcwk7897.iso
/
mgxsuite
/
abc.z
/
FIELD.FRM
< prev
next >
Wrap
Text File
|
1996-12-16
|
3KB
|
99 lines
VERSION 4.00
Begin VB.Form Form1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Field Change DEMO"
ClientHeight = 2175
ClientLeft = 1095
ClientTop = 1485
ClientWidth = 3780
BeginProperty Font
name = "MS Sans Serif"
charset = 0
weight = 700
size = 8.25
underline = 0 'False
italic = 0 'False
strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 2580
Icon = "FIELD.frx":0000
Left = 1035
ScaleHeight = 2175
ScaleWidth = 3780
Top = 1140
Width = 3900
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H80000005&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 495
Left = 210
Picture = "FIELD.frx":030A
ScaleHeight = 495
ScaleWidth = 495
TabIndex = 2
Top = 915
Width = 495
End
Begin AbcflowLib.ABC ABC1
Height = 495
Left = 1440
TabIndex = 3
Top = 1440
Width = 495
_version = 65536
_extentx = 873
_extenty = 873
_stockprops = 1
End
Begin VB.Label Label3
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "(c) Micrografx Inc., 1996. All Rights Reserved."
ForeColor = &H80000008&
Height = 390
Left = 840
TabIndex = 1
Top = 990
Width = 3000
End
Begin VB.Label Label1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "When this VB program is running, a MessageBox appears naming the changed field and its contents."
ForeColor = &H80000008&
Height = 735
Left = 240
TabIndex = 0
Top = 120
Width = 3375
End
End
Attribute VB_Name = "Form1"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub ABC1_AppQuitNOTIFY()
End
End Sub
Private Sub ABC1_FieldValueChangedNOTIFY(ByVal FieldValue As Object, ByVal Object As Object, ByVal Chart As Object)
ABC1.App.MsgBox FieldValue.Name & " has changed to " & FieldValue.FormattedValue & "!"
End Sub
Private Sub Form_Load()
Dim ABCApp As Object
Set ABCApp = CreateObject("ABCFlow.application")
ABCApp.Visible = True
ABCApp.RegisterEvent ABC1, Form1.Caption, "FieldValueChangedNOTIFY"
' Get the ABC Quit event so the Menu
' sample can unload when ABC Quits
ABCApp.RegisterEvent ABC1, Form1.Caption, "AppQuitNOTIFY"
End Sub