Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Major Bug - BINDEVENTS
Message
From
30/05/2005 04:59:40
 
 
To
06/01/2005 12:06:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00971680
Message ID:
01018492
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform