Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deactivate of the page fires when you click on the same
Message
De
23/06/2005 13:18:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01025827
Message ID:
01025938
Vues:
19
>>>>>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.

A word I pronounce: BUG.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform