Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1 CRASH and 1 BUG/ISSUE: bindevent and array
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
1 CRASH and 1 BUG/ISSUE: bindevent and array
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01031424
Message ID:
01031424
Views:
60
x=CREATEOBJECT("testbind")
ADDPROPERTY(x,"some[1]")

BINDEVENT(x,"some",x,"delegate")

? "BUG ? : write into the property don't call delegate"

x.some[1] = null

*UNBINDEVENTS(x,"some",x,"delegate")

CLEAR TYPEAHEAD
WAIT "CRASH: To remove an array bind to a method " TIMEOUT 1

REMOVEPROPERTY(x,"some")


DEFINE CLASS testbind as Custom

	PROCEDURE delegate
		? "delegate"
		
ENDPROC
Reply
Map
View

Click here to load this message in the networking platform