Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deactivate of the page fires when you click on the same
Message
 
 
To
23/06/2005 12:56:21
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01025827
Message ID:
01025927
Views:
14
>>>>Hi everybody,
>>>>
>>>>We found, that Deactivate of the page is firing when we click on the same page tab. I don't think it should fire in this case. Is it a bug?
>>>>
>>>>Thanks in advance.
>>>
>>>Sure.
>>
>>Yes, but it seems to be happenning in MereMortals framework. Can you reproduce it with the regular pageframe?
>>
>>Thanks.
>
>
>PUBLIC oform1
>
>oform1=NEWOBJECT("form1")
>oform1.Show
>RETURN
>
>DEFINE CLASS form1 AS form
>
>
>	DoCreate = .T.
>	Caption = "Form1"
>	Name = "Form1"
>
>
>	ADD OBJECT pageframe1 AS pageframe WITH ;
>		ErasePage = .T., ;
>		PageCount = 1, ;
>		Top = 36, ;
>		Left = 36, ;
>		Width = 241, ;
>		Height = 169, ;
>		Name = "Pageframe1", ;
>		Page1.Caption = "Click here", ;
>		Page1.Name = "Page1"
>
>	PROCEDURE pageframe1.page1.Init
>		this.AddObject("text1","textbox")
>		WITH this.text1
>			.visible = .Move(59,44)
>		ENDWITH
>	ENDPROC
>	
>	PROCEDURE GotFocus
>		KEYBOARD '{TAB}' PLAIN CLEAR
>	ENDPROC
>
>
>	PROCEDURE pageframe1.Page1.Deactivate
>		MESSAGEBOX("deactivate")
>	ENDPROC
>
>
>ENDDEFINE
>
So, it's firing for a regular pageframe too. Do you agree, it should not fire?

Thanks.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform