Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUGS: Pageframe and Page.Deactivate NODEFAULT
Message
From
02/07/2005 02:24:34
 
 
To
01/07/2005 09:10:06
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01028103
Message ID:
01028438
Views:
11
One little problem here: GotFocus is not documented as working with a Pageframe object, therefore: YMMV.

>Expected: stable into Page1.
>
>
>PUBLIC oform1
>
>ACTIVATE  WINDOW "Debug Output"
>
>ON ESCAPE oform1=NULL
>
>SET ESCAPE ON
>		
>oform1=NEWOBJECT("form1")
>oform1.Show
>RETURN
>
>DEFINE CLASS form1 AS form
>
>	Caption = "THE BUGS HAVE A GOOD TIME AND THEY RACE"
>	STARTDATETIME = DATETIME()
>	
>	ADD OBJECT pageframe1 AS pageframe WITH ;
>		PageCount = 4, ;
>		Top = 36, ;
>		Left = 36, ;
>		Width = 241, ;
>		Height = 169
>	
>	PROCEDURE Init
>		WAIT WINDOWS "PRESS ESC TO STOP" NOWAIT
>	
>	PROCEDURE Destroy
>		WAIT CLEAR
>	
>	PROCEDURE GotFocus
>		DEBUGOUT PROGRAM()
>		KEYBOARD '{RIGHTARROW}'
>	ENDPROC
>
>	PROCEDURE pageframe1.Page1.DeActivate
>		NODEFAULT
>	ENDPROC
>	
>	PROCEDURE pageframe1.Page2.DeActivate
>		NODEFAULT
>	ENDPROC
>
>	PROCEDURE pageframe1.Page2.DeActivate
>		NODEFAULT
>	ENDPROC
>	
>	PROCEDURE pageframe1.Page3.DeActivate
>		NODEFAULT
>	ENDPROC
>
>	PROCEDURE pageframe1.Page4.DeActivate
>		NODEFAULT
>	ENDPROC
>
>ENDDEFINE
>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform