Article ID: 156506
Article Last Modified on 10/15/2003
Top = 51
Left = 112
Height = 32
Width = 140
MODIFY COMMAND Testfrm1
PUBLIC oformset1
oformset1=CREATEOBJECT("testfrm1")
oformset1.Show()
RETURN
The entire program should look like the following:
PUBLIC oformset1
oformset1=CREATEOBJECT("testfrm1")
oformset1.Show()
RETURN
**************************************************
*-- Formset: testfrm1 (c:\VFP50\testfrm1.vcx)
*-- ParentClass: formset
*-- BaseClass: formset
*
DEFINE CLASS testfrm1 AS formset
DataSession = 1
AutoRelease = .T.
Name = "Testfrm1"
ADD OBJECT form1 AS form WITH ;
DoCreate = .T., ;
Caption = "Form1", ;
Name = "Form1"
ADD OBJECT testfrm1.form1.command1 AS commandbutton WITH ;
Top = 51, ;
Left = 112, ;
Height = 32, ;
Width = 140, ;
Caption = "Command1", ;
Name = "Command1"
ENDDEFINE
*
*-- EndDefine: testfrm1
**************************************************
ADD OBJECT testfrm1.form1.command1 AS commandbutton WITH ;
Keywords: KB156506