Article ID: 142194
Article Last Modified on 9/30/2003
** Ctl Class Definition
DEFINE CLASS ctl AS control
ADD OBJECT command1 AS commandbutton WITH ;
Top = 31
Left = 23
ADD OBJECT command2 AS commandbutton WITH ;
Top = 81
Left = 21
ADD OBJECT pageframe1 AS pageframe WITH ;
ErasePage = .T.
PageCount = 2
Top = 115
Left = 37
ADD OBJECT subcontrol1 AS subcontrol WITH ;
Top = 6
Left = 146
PROCEDURE printmembers
ACTIVATE SCREEN
x=This.name
? AMEMBERS(atest,This,2)
DISPLAY MEMORY LIKE atest
FOR ii = 1 TO This.ControlCount
? This.controls[ii].Name
ENDFOR
? This.SubControl1.Name
ENDPROC
ENDDEFINE
*-- EndDefine: ctl
** Subcontrol Class Definition
DEFINE CLASS subcontrol AS control
ENDDEFINE
SET LIBRARY TO TEST.PRG
X=CREATEOBJECT('Ctl')
X.Printmembers
Keywords: kbbug kbfix kbvfp500fix KB142194