Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Major Bug - BINDEVENTS
Message
De
30/05/2005 04:59:40
 
 
À
06/01/2005 12:06:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00971680
Message ID:
01018492
Vues:
22
>Keith Furino reported this to us via the feedback mechanism and I reproduced it and submitted it on his behalf. I'm not yet sure if it is an intentional change or a bug, but it looks like a bug to me.

Hi Jim,
this cannot to be a bug, because with the VFP8 incorrect design
a BINDEVENT ( after ) to the collection Item is impossible

Next show a collection bug,
uncomment * return "something" show the BINDEVENT issue
CLEAR

cc=CREATEOBJECT("testCollection")
cc.Add("Item 1")

? "cc(1) return",cc(1)

? "cc(1) return",cc.Item(1)

DEFINE CLASS testCollection As Collection 
	
	PROCEDURE init
		BINDEVENT(m.This,"item",m.This,"BindItem",1)
	
	PROCEDURE BindItem(eIndex)
		* do something
                * uncomment next line 
		* return "something"
	ENDPROC

ENDDEFINE
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform