Article ID: 191503
Article Last Modified on 3/24/2000
PUBLIC oform1
CREATE TABLE xjunkpr FREE (f1 N(10,2))
oform1=CREATEOBJECT("form1")
oform1.Show
RETURN
**************************************************
*-- Form: form1
*-- ParentClass: form
*-- BaseClass: form
*
DEFINE CLASS form1 AS form
Top = 0
Left = 0
DoCreate = .T.
Caption = "Form1"
Name = "Form1"
ADD OBJECT command1 AS commandbutton WITH ;
Top = 168, ;
Left = 240, ;
Height = 73, ;
Width = 121, ;
Caption = "Quit", ;
TabIndex = 5, ;
Name = "Command1"
ADD OBJECT command2 AS commandbutton WITH ;
Top = 24, ;
Left = 240, ;
Height = 73, ;
Width = 121, ;
Caption = "New Record", ;
TabIndex = 1, ;
Name = "Command2"
ADD OBJECT text1 AS textbox WITH ;
ControlSource = "xjunkpr.f1", ;
Format = "", ;
Height = 25, ;
InputMask = "999,999.99", ;
Left = 24, ;
TabIndex = 2, ;
Top = 24, ;
Width = 168, ;
Name = "Text1"
ADD OBJECT command3 AS commandbutton WITH ;
Top = 168, ;
Left = 24, ;
Height = 49, ;
Width = 73, ;
Caption = "Prior", ;
TabIndex = 4, ;
Name = "Command3"
ADD OBJECT command4 AS commandbutton WITH ;
Top = 168, ;
Left = 120, ;
Height = 49, ;
Width = 73, ;
Caption = "Next", ;
TabIndex = 3, ;
Name = "Command4"
PROCEDURE command1.Click
Thisform.Release
ENDPROC
PROCEDURE command2.Click
APPEND BLANK
Thisform.Refresh
ENDPROC
PROCEDURE command3.Click
SKIP -1
IF BOF()
GO TOP
ENDIF
Thisform.Refresh
ENDPROC
PROCEDURE command4.Click
SKIP 1
IF EOF()
GO BOTTOM
ENDIF
Thisform.Refresh
ENDPROC
ENDDEFINE
*
*-- EndDefine: form1
**************************************************
Additional query words: kbVFp600fix kbOOP kbvfp500
Keywords: kbbug kbfix kbcode KB191503