Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you Create a Page Class in VFP 7?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00726793
Message ID:
00728779
Views:
17
This can be done in code
DEFINE CLASS myPage as Page 
	PROCEDURE click
		=MESSAGEBOX('I have been clicked')
	ENDPROC 
ENDDEFINE 

DEFINE CLASS myPageFrame as PageFrame 
	pagecount=0
	PROCEDURE pagecount_assign (lnNumPages as Integer)
		LOCAL x
		FOR x=1 TO lnNumPages
			this.NewObject('myPage'+TRANSFORM(x),'myPage')
		ENDFOR
	ENDPROC
ENDDEFINE 
>It appears that there is no capability to create a Page Class in VFP 7?
>Is it possible to emulate this?
>
>If neither is possible, how can I load code into the Activate Method after I add a page object to a framepage?
>
>TIA.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform